android
  #1  
Old 12-27-2010, 10:48 AM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default BoxWars - An overhead 2d shooter

I am currently working on an overhead shooter game for the xfi2:


New version:
New Features:
*speed of the game is much faster
*enemies slowed down
*rewrote parts of the collision system
* rewrote the shooting system so now when you let up on the screen it usually stops shooting

Bugs:
*Blue ammo crates will disappear if a bullet crosses them
*guns may not stop firing when let up on screen
Attached Files
File Type: zip Box Wars.zip (4.1 KB, 132 views)

Last edited by jbob182; 10-28-2012 at 07:53 PM.
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 12-27-2010, 03:11 PM
datallboy's Avatar
datallboy datallboy is offline
Member
 
Join Date: Feb 2010
Posts: 143
Default

nice idea! its about time someone thinks of making a shooter. next project could maybe be a 1st person
__________________
I wUz he3R
Reply With Quote

  #3  
Old 12-27-2010, 03:38 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

Not so fast there! A 1st person shooter requires a 3d engine that is fast, so far we only have a wire frame engine and i am still understanding it ( hopefully i will eneventually be able to make 3d pong of it, but thats for another time)
Reply With Quote

  #4  
Old 12-28-2010, 10:03 AM
Redwolfhome's Avatar
Redwolfhome Redwolfhome is offline
Junior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 91
Default

I love boxhead
And your signature, too
Reply With Quote

  #5  
Old 12-28-2010, 12:38 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

After a discussing art with a friend of mine it seems he wont be able to help so right now i have 1 hope left for art, i will let you know if it works out

-------------------------------------------------------------------

Does anyone have ideas for a control setup, I originally thought of using the accelerometer for movement, home button for switching weapon, power for pause and touch to shoot.

There is a tiny problem, well not so tiny. When the user holds down on the screen on a specific point it recognizes it as a touch.hold. now hold refreshes every second so shoot speed is only 1 shoot per second here versus move, click, or up, it shoots as a speed of a variable i set. Any ideas on how to fix this? if i have an auto shoot and the user just aims then no limited amo

Last edited by jbob182; 10-28-2012 at 07:54 PM.
Reply With Quote

  #6  
Old 12-28-2010, 10:10 PM
datallboy's Avatar
datallboy datallboy is offline
Member
 
Join Date: Feb 2010
Posts: 143
Default

well a 1st person game doesnt have to be 3D it can be 2D
__________________
I wUz he3R
Reply With Quote

  #7  
Old 12-29-2010, 08:03 AM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,081
Default

Quote:
Originally Posted by jbob182 View Post
After a discussing art with a friend of mine it seems he wont be able to help so right now i have 1 hope left for art, i will let you know if it works out
I miiight be able to help somehow, maybe. Once I get home from Prague, which will be on the 3rd of Jan.

Quote:
Originally Posted by datallboy View Post
well a 1st person game doesnt have to be 3D it can be 2D
How would that be possible?...
__________________
"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

  #8  
Old 12-31-2010, 03:17 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

Here is a quick demo of what is done so far :

Us the accelerometer to move, auto shoot , home button to change weapon, and power to exit


It runs alot smoother on the player than i thought it would. As for weapon balances would anyone care to improve them, sps is shots per seconds, well not really per second any more

how it works is i have 100 then subtract 1+shots per second every framerate. damage is how much damage 1 bullet inflicts.

For sure Pistol should be slower, Later i will add spread shots to the shotgun and lower the damage per shoot ( because of the spread).

Should there be an auto aim?
Attached Files
File Type: zip Box Wars.zip (3.4 KB, 37 views)

Last edited by jbob182; 10-28-2012 at 07:55 PM.
Reply With Quote

  #9  
Old 01-03-2011, 04:32 AM
Android18 Android18 is offline
Junior Member
 
Join Date: Dec 2010
Location: Pokhara,Nepal
Posts: 35
Default

Then u can just activate a mode when touched
and deactivate the mode when released

then in the mode u can just write the script u wanna run

if ----
mode = true
elseif---
mode = false
end


if mode then
---

end
Reply With Quote

  #10  
Old 01-03-2011, 08:07 AM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

Pardon? what are you refering too?
Reply With Quote

  #11  
Old 01-03-2011, 02:32 PM
Brett_val's Avatar
Brett_val Brett_val is offline
Senior Member
 
Join Date: Jan 2010
Location: The Netherlands
Posts: 636
Default

I think I had the same idea as Android18, and it's about the shooting while holding. You can leave out the whole touch.hold, just ignore it, and start the autoshoot at a touch.down, and stop it at a touch.up or touch.click. This will effectively be the same as touch.hold (because the user is holding the screen between a .down and .up/.click anyway) but without the 1 second interval.

Cool idea for a game btw
__________________
this is a link to my personal homepage which I haven't
Reply With Quote

  #12  
Old 01-03-2011, 05:20 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

Ah now i see what you are saying. I never considerd that option, i will add that in the next version, and one question: Do you think it would be better to 1. have an auto aim(where you can toggle through enemeys, and touch is to shoot)? 2. only be able to shoot in the direction you are moving(still touch to shoot) , or 3. just leave the setup as is.

Thanks for the idea about shooting, that will save me same time.

Last edited by jbob182; 09-16-2012 at 08:14 PM.
Reply With Quote

  #13  
Old 01-15-2011, 04:23 AM
Android18 Android18 is offline
Junior Member
 
Join Date: Dec 2010
Location: Pokhara,Nepal
Posts: 35
Default

@jbob182

U can just use the accelerometer to look round
or create a knob for tat

and create a fire button to fire
Reply With Quote

  #14  
Old 01-15-2011, 09:24 AM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

I got my control setup already but thanks for the suggestion. Right now i am still working on the shotgun, it is harder then it sounds because right now the spread will variate depending on where you click, which i dont want
Reply With Quote

  #15  
Old 01-18-2011, 11:37 AM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

New version
now with :
1. amo
2. more accurate gun damage
3.proper shotgun spread
4.when eneneyms die there is a 50% chance they will drop a crate containing amo.

Controls

*touch the screen to shoot ( hold to keep shooting).
*Home button to switch weapons and start a new game once you die.
*Power button to exit.

(still player only for best results)
( the uzi amo is a tad high)
Attached Files
File Type: zip Box Wars BETA.zip (4.0 KB, 15 views)

Last edited by jbob182; 01-18-2011 at 12:42 PM.
Reply With Quote

  #16  
Old 01-18-2011, 03:14 PM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,081
Default

Trouble with the shooting, even just a click makes it continue shooting, and even after a hold it keeps on going.

It is also a bit slow in changing directions of the shooting, and the boxes attacking you move way too fast to take out with anything I tried but the rifle. Pistol and Uzi was just too weak to get enough hits in that short time-frame, especially if they came from the "long" sides.
__________________
"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

  #17  
Old 01-18-2011, 03:19 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

Ok, I did not have my player when i finished this. I just tried it and agree that the shooting is a problem,

For shooting should it be
1. the same though possibly some speed improvements ( though i think there is not much i can do due to the players limited capabilities)
2. auto aim but you choose when to fire and possibly an option to toggle through enemies
3. other ( suggest something)

Last edited by jbob182; 10-28-2012 at 07:56 PM.
Reply With Quote

  #18  
Old 01-18-2011, 04:18 PM
Brett_val's Avatar
Brett_val Brett_val is offline
Senior Member
 
Join Date: Jan 2010
Location: The Netherlands
Posts: 636
Default

As it is now it's way too hard as been said, the boxes track you down very fast. But the idea is really nice, I can see myself playing this on the train or bus .

Autoaim would make it too easy I think, besides moving by accelerometer is also helping to aim anyway.

For speed improvements, I see you're redrawing the whole screen, maybe just place little fillrects with black right before you calculate new positions in all the respective functions.
__________________
this is a link to my personal homepage which I haven't
Reply With Quote

  #19  
Old 01-18-2011, 05:42 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

That should help with redirecting the shots once you click , i also need to fix my code that attempts to only have it shoots when you press,

so next time:
1. enemies will move slower
2. change the guns speed/damge
3.fix shooting
4. dont redraw bg
5. possibly add map scrolling so as you move left the map moves left e.c.t(like in boxhead)

Also i may be relasing more version more often because it is almost impossible to debug or play a game on my player now, i might get lucky some times but it always seems to crash(my warrenty is up)
Reply With Quote

  #20  
Old 02-19-2011, 08:50 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

This project is on hold until my artist friend finishes the art and even later then that. Expect at most up to a year delay(Very Latest): Reason: Pingus (being developed by RedWolfHome and I) is in full gear. We are making great progress and i am devoting any extra time i have to Pingus. We have finished the engine, a few levels, about a third of the abilities and various feature one of which: an exclusive auto updater.

Last edited by jbob182; 10-28-2012 at 07:57 PM.
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 03:33 PM.