-
Posts
127 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by TattieBoJangle
-
-
Ok thanks guys managed to get it working thanks but the second i add a gun it crashes lol (STACKHASH 5861) error
-
Great Tutorials! could you possibly do a spawn one when say an enemy kills you.
-
Nice find any ideas how to solve it
-
Thanks sent you a message
-
Anyone have any ideas or able to help?
-
I am now getting this error
Problem signature:
Problem Event Name: BEX
Application Name: MyGame.exe
Application Version: 0.0.0.0
Application Timestamp: 53e13953
Fault Module Name: StackHash_5861
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: PCH_35_FROM_ntdll+0x0003D2EC
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.3.9600.2.0.0.768.101
Locale ID: 2057
-
Hi Aggror thanks for the reply the 2 levels are blank maps apart from the trigger just to get them to work.
-
Hi guys looking for a little help i followed Ricks tut for loading levels but i am getting an error
OpenAL: AL_INVALID_OPERATION i have went over the lua and cant see what the problem is it loads my second level for a split second the crashes with the above error any help would be great.
App.lua
--This function will be called once when the program starts function App:Start() --Initialize Steamworks (optional) Steamworks:Initialize() --Set the application title self.title="MyGame" --Create a window self.window=Window:Create(self.title) self.window:HideMouse() --Create the graphics context self.context=Context:Create(self.window,0) if self.context==nil then return false end --Create a world self.world=World:Create() --Load a map local mapfile = System:GetProperty("map","Maps/start.map") self.mapFile = "Maps/start.map" if Map:Load(self.mapFile)==false then return false end self.mapFile ="" return true end function App:SwitchLevel(name) self.mapFile = name end function App:ShouldSwitchLevel() if self.mapFile ~= "" then self.world:Release() self.world = World:Create() Map:Load(self.mapFile) self.mapFile = "" end end --This is our main program loop and will be called continuously until the program ends function App:Loop() self:ShouldSwitchLevel() --If window has been closed, end the program if self.window:Closed() or self.window:KeyDown(Key.Escape) then return false end --Update the app timing Time:Update() --Update the world self.world:Update() --Render the world self.world:Render() --Render statistics self.context:SetBlendMode(Blend.Alpha) if DEBUG then self.context:SetColor(1,0,0,1) self.context:DrawText("Debug Mode",2,2) self.context:SetColor(1,1,1,1) self.context:DrawStats(2,22) self.context:SetBlendMode(Blend.Solid) else --Toggle statistics on and off if (self.window:KeyHit(Key.F11)) then self.showstats = not self.showstats end if self.showstats then self.context:SetColor(1,1,1,1) self.context:DrawText("FPS: "..Math:Round(Time:UPS()),2,2) end end --Refresh the screen self.context:Sync(false) --Returning true tells the main program to keep looping return true end
LoadLevel.lua
Script.entered = false Script.exited = false Script.hadCollision = false Script.Map = "" --path function Script:UpdatePhysics() if self.entered then if self.hadCollision == false then if self.exited == false then self.exited = true self.component:CallOutputs("TriggerExit") self.entered = false end end end self.hadCollision = false end function Script:Collision(entity, position, normal, speed) self.hadCollision = true if self.entered == false then self.component:CallOutputs("TriggerEnter") App:SwitchLevel(self.Map) self.entered = true self.exited = false end end
-
Ahh well i guess im at a dead end i know nothing of lua or c++ thanks for the help though
-
Is there any tutorials on importing a animated object i have tried following the forum info to no avail it animates in the model editor and i have applied the animated shader to the texture :/ but does not in game any ideas ?
-
Might be a windows 8 thing.
Isn't everything
- 1
-
Never mind i installed it to my local drive C:\ why wont it work on my other drive where all my steam games and software is ?
-
Been like this for some time now im about to give up lol
-
System Specification---13/08/2014 21:15:11
Windows 8.1 64bit
Version 6.2 (Build 9200)
Internet Explorer 9.11.9600.17239
Memory (RAM) 32709 MB
CPU Info Intel® Core™ i7-3820 CPU @ 3.60GHz
CPU Speed 3607.4 MHz
Sound Card Speakers (Realtek High Definiti | Realtek Digital Output (Realtek | Realtek Digital Output(Optical) |
Display AMD Radeon R9 200 Series
Monitors 2x; Generic PnP Monitor | Generic PnP Monitor |
Screen Resolution 1920 X 1080 - 32 bit
Network Network Present
Network Adapters Bluetooth Device (Personal Area Network) | Intel® 82579V Gigabit Network Connection
CD / DVD Drives 2x (H: | I: | ) H: HL-DT-STBD-RE BH10LS30 | I: DTSOFT BDROM
Ports COM Ports NOT Present. LPT Port NOT Present.
Mouse 10 Button Wheel Mouse Present
Hard Disks C: 1862.5GB | D: 1863.0GB | E: 1863.0GB | F: 1863.0GB | G: 1863.0GB
Hard Disks - Free C: 1560.8GB | D: 1162.0GB | E: 959.4GB | F: 1254.2GB | G: 710.9GB
USB Controllers 2 host controllers.
Motherboard * ASUSTeK COMPUTER INC. P9X79 PRO
Graphics driver : up to date 14.10.1006
-
-
Many thanks been looking all over for that
-
Thanks for the fast reply i followed that and all i got was the same size screen but with a spinning box :/
-
This has probably been asked a million times but i cannot seem to find a script or code to make my game full screen and where to put it any help guys
Load map error
in General Discussion
Posted
many thanks macklebee that works! nice little fix till Josh updates it.