android
  #1  
Old 04-17-2010, 09:59 AM
keirien keirien is offline
Junior Member
 
Join Date: Feb 2010
Posts: 39
Default Cube Runner - Dev Thread

im making a cube runner game



check list
----------------------------
menu✔
gameplay

in need help with random image code
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 04-17-2010, 10:03 AM
lsquish's Avatar
lsquish lsquish is offline
Junior Member
 
Join Date: Mar 2010
Posts: 47
Default

Quote:
Originally Posted by keirien View Post
im making a cube runner game



check list
----------------------------
menu✔
gameplay

in need help with random image code
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..
Reply With Quote

  #3  
Old 04-17-2010, 10:23 AM
keirien keirien is offline
Junior Member
 
Join Date: Feb 2010
Posts: 39
Default

Quote:
Originally Posted by lsquish View Post
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..
i like to put it in 3d framewire but not sure how to
i making it acclermonter
i just need a simple random image code si the images load randomly
Reply With Quote

  #4  
Old 04-17-2010, 10:28 AM
lsquish's Avatar
lsquish lsquish is offline
Junior Member
 
Join Date: Mar 2010
Posts: 47
Default

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
Reply With Quote

  #5  
Old 04-17-2010, 10:33 AM
keirien keirien is offline
Junior Member
 
Join Date: Feb 2010
Posts: 39
Default

Quote:
Originally Posted by lsquish View Post
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
ok ill just use flat square instead
Reply With Quote

  #6  
Old 04-17-2010, 10:52 AM
lsquish's Avatar
lsquish lsquish is offline
Junior Member
 
Join Date: Mar 2010
Posts: 47
Default

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
Reply With Quote

  #7  
Old 04-19-2010, 05:27 AM
keirien keirien is offline
Junior Member
 
Join Date: Feb 2010
Posts: 39
Default

thanks latr on today ill post up a beta version
Reply With Quote

  #8  
Old 04-27-2010, 04:58 PM
nikc4 nikc4 is offline
Junior Member
 
Join Date: Feb 2010
Location: In a cardboard box
Posts: 46
Default

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
Reply With Quote

  #9  
Old 09-27-2010, 12:30 AM
matthijs1929's Avatar
matthijs1929 matthijs1929 is offline
Junior Member
 
Join Date: Sep 2010
Location: the netherlands
Posts: 40
Default

when do you release the game?
Reply With Quote

  #10  
Old 09-27-2010, 02:27 AM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default

Quote:
Originally Posted by matthijs1929 View Post
when do you release the game?
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. ^.^
Reply With Quote

  #11  
Old 09-27-2010, 05:59 AM
Mr Wunderbar's Avatar
Mr Wunderbar Mr Wunderbar is offline
Junior Member
 
Join Date: Jan 2010
Posts: 93
Default

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
Reply With Quote

  #12  
Old 09-27-2010, 06:08 AM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default

Quote:
Originally Posted by Mr Wunderbar View Post
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
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. ^.^
Reply With Quote

  #13  
Old 09-30-2010, 05:26 PM
datallboy's Avatar
datallboy datallboy is offline
Member
 
Join Date: Feb 2010
Posts: 143
Default

ohh looks cool
__________________
I wUz he3R
Reply With Quote

  #14  
Old 10-04-2010, 06:02 AM
Mr Wunderbar's Avatar
Mr Wunderbar Mr Wunderbar is offline
Junior Member
 
Join Date: Jan 2010
Posts: 93
Default

Quote:
Originally Posted by Habhome View Post
It's not such an easy task to make as it might seem, and we others have our own projects we're interested in.
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
Reply With Quote

  #15  
Old 10-07-2010, 02:00 PM
matthijs1929's Avatar
matthijs1929 matthijs1929 is offline
Junior Member
 
Join Date: Sep 2010
Location: the netherlands
Posts: 40
Default

brett_val is making one.
Reply With Quote

  #16  
Old 10-07-2010, 03:31 PM
datallboy's Avatar
datallboy datallboy is offline
Member
 
Join Date: Feb 2010
Posts: 143
Default

how far are u with the gameplay?
__________________
I wUz he3R
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 02:28 PM.