Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
No budget games
20
Years of Service
User Offline
Joined: 26th Feb 2004
Location:
Posted: 16th Apr 2004 16:44
this code is incomplete but when i test it i get an error saying object already exisits at line 15sub loadmedia
rem steup objects

rem control game
gosub control_player


loadmedia:
rem load all media
load object "models\H-USA-Idle.x",1
append object "models\H-USA-Move.x",1,total object frames(1)+1
load object "models\am.x",8
load object "models\H-USA-Attack1.x",3
load object "models\H-Alien Mutant-Move.x",4
load object "models\H-Alien Mutant-Attack1.x",5
load object "models\H-Bones-Move.x",6
load object "models\H-Bones-Attack1.x",7
load music "sounds\turok2gb_building.mid",1
load music "sounds\d2map10.mid",2
load music "sounds\d2map28.mid",3
load sound "sounds\Queen exhale.wav",1
load sound "sounds\fire loop.wav",2
load sound "sounds\Gun 3.wav",3
load sound "sounds\cave creature.wav",4
load image "images\gravel1.bmp",1
load image "images\lava1.bmp",2
load image "images\grass3.bmp",3

return

control_player:
rem controls main character
if upkey()=1 then play object 1,26,26+50
if downkey()=1 then play object 1,26,26+50
if leftkey()=1 then play object 1,26,26+50

return

sj
flibX0r
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 16th Apr 2004 17:25
check to make sure that the loadmedia subroutine is not being called more than once.

Athlon 2500+, Asus A7V600-X, 512Mb DDRRAM, GeForce 4 MX 440
http://www.jellystudios.tk <-- Yay! I have web content

Login to post a reply

Server time is: 2024-11-26 12:43:29
Your offset time is: 2024-11-26 12:43:29