View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Beginner BeginnerMember since: 30.01.2013, 22:29Posts: 20 Likes: 0
 

 Post Topic: Top Down + Side Scrolling Shooter
PostPosted 01.03.2013, 04:36 
Hey guys I'm a grad student at a game development school and we have an assignment to create a game over the next semester. As the weeks go on certain games will be cut and others will be greenlit.

I decided (after doing the previous level design assignment in the free CE3 free SDK) to continue poking around with it and see what I could accomplish. I've had an idea for awhile now to build a top down shooter that changes into a side scrolling shooter and cryengine would be really sweet graphically to do this in.

We are currently about two weeks in and I'm waiting to hear the results but my class seemed totally blown away by the progress I've made so far. This might make some people wince but it will end up being a flowgraph game using custom assets that the artists in my class made last semester (so it wont look like producer art XD).

Here are some screenshots of what I've got so far, you can see my test area with both cameras. There is a close up of both ships which are currently geomEnitities and in game shots of the top down and side view cameras that I can switch between.

BTW cryDevs thank you for adding that xbox input in the last update, made input wayyyyy easier.

Image
Image
Image
Image
Image

If anyone has comments or suggestions please let me know!

  Trainee TraineeMember since: 12.07.2011, 22:48Posts: 129 Likes: 0
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 01.03.2013, 08:33 
Looking good :) Looking forward to seeing them in a video with all the movement/shooting etc.


-Dan

-----------------------------------------------------------------
K-Glider Prototype
-----------------------------------------------------------------


Image @DanTrufin
User avatar   Beginner BeginnerMember since: 04.02.2013, 17:44Posts: 4Location: England Likes: 0
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 03.03.2013, 17:03 
I too look forward to a demo video :)
User avatar   Beginner BeginnerMember since: 09.01.2010, 19:41Posts: 56Location: Canada Likes: 1
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 04.03.2013, 06:33 
Looks cool!
User avatar   Experienced Modder Experienced ModderMember since: 20.01.2012, 21:45Posts: 407Location: Brazil Likes: 6
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 04.03.2013, 20:09 
looks good :p
good luck man xD


Tutoriais em português ---> http://www.youtube.com/user/JuninhoRck <---
  Beginner BeginnerMember since: 30.01.2013, 22:29Posts: 20 Likes: 0
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 18.03.2013, 00:22 
Hey all, want to post an update and a question.

I've integrated with perforce so my new guy and I can work on the project without overwriting each others work, good stuff. (He was absorbed from one of the cut games last round).


The bad news is I seem to have a massive memory leak with my flowgraph which I've narrowed down to the screenshot below. If anyone has any ideas or suggestions please let me know.

Image
*nevermind this, it actually seems to be my ship model .cga file that is creating the memory leak...?

You'll notice there are two groups here, either one causes the memory leak.
The first group is just launching a projectile from the position of my ship. This doesn't work due to the projectile not having hit information included with it, I think that is generated when you shoot a projectile out of a weapon.
The second group attaches a rocket launcher to the ship as a child and fires it. This seems to work really well. The only issue, besides the memory leak, is that my custom ship entities don't have hit information and I'm having trouble implementing this within the lua file. The documentation on implementing hit info has no examples, just a list of properties and the only example I've been able to find is in vehiclebase.lua which references a lot of other vars within that file.

On an additional note to the CryEngine devs. The tutorial on creating a custom entity http://www.crydev.net/wiki/index.php/Creating_a_new_entity in the wiki doesn't work correctly. The entity being added into the editor works fine, but the physicalize portion of the script does not work.

My next cut round is this coming tuesday 3/19 - wish me luck.
  Beginner BeginnerMember since: 30.01.2013, 22:29Posts: 20 Likes: 0
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 18.03.2013, 00:38 
So to contradict the last post its definitely my .cga causing the memory leak, how is that even possible?
  Beginner BeginnerMember since: 01.12.2012, 17:33Posts: 54 Likes: 4
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 18.03.2013, 01:02 
Is there a chance that you are loading the .cga file multiple times?
  Beginner BeginnerMember since: 30.01.2013, 22:29Posts: 20 Likes: 0
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 18.03.2013, 01:14 
No, I'm pretty sure its not loading multiple times. In fact I just found that its the rotation on the model within the editor itself causing leak.

We had changed our design from the previous week to run in the +y direction. Easy change, rotate model, rotate camera, increment all axis of input accordlingly and no big deal... With the model facing its original direction it runs fine, but if the model is rotated to the right 90 degrees its starts chugging after about 5 seconds of simulation in the editor.
User avatar   Media Support Media SupportMember since: 04.12.2007, 03:23Posts: 6858Location: NorwayStatus: Online Likes: 29
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 18.03.2013, 01:26 
Re-export the CGA file, might be something happened during export.


 
 
 

< Vascotia Studios >

Image   Image   Image   Image   Image

Join our Social Sites!
User avatar   Beginner BeginnerMember since: 13.01.2012, 23:06Posts: 46 Likes: 0
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 18.03.2013, 11:40 
looks intersting, are you using the XBox controller to test the game ?


Muhammad A.Moniem
Lead Game Developer
mamoniem.wordpress.com
  Beginner BeginnerMember since: 30.01.2013, 22:29Posts: 20 Likes: 0
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 19.03.2013, 18:07 
Quote by mamoniem:
looks intersting, are you using the XBox controller to test the game ?


Yep, it simplified the flow graph for the input by... alot. I have it currently set to switch my side view camera when you press the 'A' button, but I think game play is going to be impossible if the player gets to choose when to be in side view vs. top view. So it will probably end up being a scripted event, or maybe a mechanic for hitting boss weak spots.

Image

There is an issue I need to fix with this flowgraph, when I start the game you'll notice I'm also disabling my left thumbstick at the same time I'm enabling it. This is causing me to have to push the 'A' button to re-enable it before I can move.

I should have a video posted in a few days of the current game state.
  Beginner BeginnerMember since: 30.01.2013, 22:29Posts: 20 Likes: 0
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 28.03.2013, 23:44 
Finally got around to getting some video of what it currently looks like.

This week I was able to add enemies shooting (in a straight line), player ship hp, and a kill counter/score.




I'd like to use CryEngine's native destructible object but it appears that takes quite a bit of work in maya. I'd also like to implement my own weapon/projectile type. If anyone has tips or suggestions on these things give me a shout.
  Beginner BeginnerMember since: 30.01.2013, 22:29Posts: 20 Likes: 0
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 08.04.2013, 23:29 
The biggest problem I encountered was that if a player had the choice to be in side view or top view, it was almost impossible to line yourself up with the enemy ships to hit them. My solution was to detect if the player was in side view or top view and move the enemies into the player's plane so that they wouldn't have to worry about it. The result is pretty cool but created some additional issues. When initially placing the enemies they all must have unique x AND z coordinates, or when the player switches they will shoot themselves. Thats a problem because I had no idea where entity health and hit detection was located (I located it yesterday, its in the EntityUtils.lua script), so I implemented my own HP and decremented off of any hit, meaning enemies could shoot each other.

Anyway here is a video of how its working with the plane shifting enemies, all sorts of stuff I could do with this!

User avatar   Trainee TraineeMember since: 28.03.2013, 17:34Posts: 122 Likes: 0
 

 Post Topic: Re: Top Down + Side Scrolling Shooter
PostPosted 09.04.2013, 08:37 
Great job!


Nothing is true,everything is permitted.