|
#1
|
|||
|
|||
|
im making a cube runner game
![]() check list ---------------------------- menu✔ gameplay in need help with random image code |
|
|
|||
|
|
|
#2
|
||||
|
||||
|
Please can you specify what problems you are encountering in the random image code and make the thread more detailed like puttung if you are going to use the accelormeter or touch and if you are doing it in 3d wireframe or just flat images..
|
|
#3
|
|||
|
|||
|
Quote:
i making it acclermonter i just need a simple random image code si the images load randomly |
|
#4
|
||||
|
||||
|
ok thanks,
one thing is that you won't be able to make the cubes have sides coloured becuase the 3d engine at the moment only allows lines to be draw(unless you try to draw lots of line filling out the sides) And also this will be very hard to implent the enigne into a game... Ill edit this post later with a random generating script
|
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
||||
|
||||
|
heres the random script, i hope i explained it well...
width=screen.width() height=screen.height() --set the screensize randomn=0 --this is the variable that decides wehter he moves left, right.... yellow=image.load("ENTER IMAGE NAME HERE.png") orange=image.load("ENTER IMAGE NAME HERE.png") red=image.load("ENTER IMAGE NAME HERE.png") nextcubeIMG=red function drawgame() screen.fillrect(0,0,width,height,white); --draw the background cubeIMG:draw(cubeX,cubeY) -- draw the person screen.update() end function colorcheck() randomn=math.random(1,3) --set random to 1,2,3or4 if randomn==1 then nextcubeIMG=red end if randomn==2 then nextcubeIMG=yellow end if randomn==3 then nextcubeIMG=orange end nextcubeIMG=cubeIMG --you can make this bit change the cube about to appear on screen end while true do -- forever colorcheck() drawgame() --excutes the function drawgame() os.sleep(50) --wait a bit end |
|
#7
|
|||
|
|||
|
thanks latr on today ill post up a beta version
|
|
#8
|
|||
|
|||
|
Any updates on this? I was really looking forward to a beta, since I loved playing this game on the computer. Just wondering. I know programming can be difficult, I had trouble with just basic stuff, so I'm not trying to rush you, I was just interested in how the progress is.
Nick |
|
#9
|
||||
|
||||
|
when do you release the game?
|
|
#10
|
||||
|
||||
|
As we have said before, please refrain from asking this kind of questions. We release when we can, no sooner, no later.
And as mentioned in another thread, Keirien is most likely not returning to the forums it seems.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#11
|
||||
|
||||
|
Well then, someone else needs to make it! cube runner would be awesome, if the accelerometer function works as well as it does on falling balls
__________________
If anyone wants to teach me a bit of lua, feel free. ![]() ~Mr Wunderbar |
|
#12
|
||||
|
||||
|
It's not such an easy task to make as it might seem, and we others have our own projects we're interested in.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#13
|
||||
|
||||
|
ohh looks cool
__________________
I wUz he3R
|
|
#14
|
||||
|
||||
|
I understand. Still, it would be great to have some time in the future
__________________
If anyone wants to teach me a bit of lua, feel free. ![]() ~Mr Wunderbar |
|
#15
|
||||
|
||||
|
brett_val is making one.
|
|
#16
|
||||
|
||||
|
how far are u with the gameplay?
__________________
I wUz he3R
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 04:11 PM.














Linear Mode
