Jump to content

Photo

Nebulus/Tower Toppler game


45 replies to this topic

#26 artrag OFFLINE  

artrag

    Stargunner

  • 1,098 posts

Posted Thu May 3, 2018 12:27 AM

It looks awesome already! Probably the 3d effect could even improve by adding a color gradient using reds or blues in oder to make the front face of the tower brighter than the lateral faces

#27 Vorticon OFFLINE  

Vorticon

    River Patroller

  • 3,254 posts
  • Location:Eagan, MN, USA

Posted Thu May 3, 2018 6:29 AM

This version has a background.

 

I actually got nauseous watching the animation! Did anybody else experience that? I think it has to do with the background being completely tiled instead of just having a few scrolling elements.



#28 mizapf ONLINE  

mizapf

    River Patroller

  • 3,364 posts
  • Location:Germany

Posted Thu May 3, 2018 7:28 AM

Kinetosis...

 

Interestingly, VR headsets now use a kind of tunnel vision when you sweep around ("comfort mode"); the peripheral areas are just gray. Otherwise, your vision system has nothing to cling to, and you start swaying and start feeling dizzy. (I've got a HTC Vive.)



#29 Asmusr OFFLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,874 posts
  • Location:Denmark

Posted Sat May 12, 2018 12:54 PM

I haven't done a lot of work on this, but I did add some doors/openings. I also changed the graphics to look more like bricks.

 

So far it's very simple: a door is added by choosing the right row from a map like this, and copying it to the VDP:

 

Attached File  temp.png   2.08KB   4 downloads

 

There is another map for odd rows, and another map for rows without doors. With this technique each row can have only one door.

 

Pre-defining maps with more than one door would take up too much memory, so additional doors will have to be added on the fly together with platforms, etc. So instead of copying directly to the VDP I have to copy the row to a buffer first where additional objects are added. That's the next step.

 

 

Attached Files



#30 artrag OFFLINE  

artrag

    Stargunner

  • 1,098 posts

Posted Sun May 13, 2018 12:40 PM

There has to be a way to store single tiles or transitions between tiles according to the angle of the rotation
It would allow full flexibility in building the map

#31 artrag OFFLINE  

artrag

    Stargunner

  • 1,098 posts

Posted Mon May 14, 2018 12:23 AM

I see about 60 angles in your plot that make the right edge of a door visible from the leftmost to the rightmost side of the tower.
The same holds for its middle black tiles and the left edge. A door slice is 4 tiles.
The door could be coded by a matrix 4x60.
Each row is a tile, each column an angle.

Edited by artrag, Mon May 14, 2018 1:03 AM.


#32 artrag OFFLINE  

artrag

    Stargunner

  • 1,098 posts

Posted Wed May 16, 2018 2:14 PM

I would reduce the height of the blue tiles in background in order to keep the rectangular proportions of the tiles used in the foreground tower  



#33 Asmusr OFFLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,874 posts
  • Location:Denmark

Posted Thu May 17, 2018 11:22 AM

I'm very, very slowly working towards a version were the doors and platforms are drawn on the tower instead of being predefined.



#34 Asmusr OFFLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,874 posts
  • Location:Denmark

Posted Mon May 21, 2018 2:36 AM

Attached File  screenshot.png   4.68KB   2 downloads

 

This version has platforms, and both platforms and door are drawn programmatically, i.e. without relying on a pre-calculated data. The speed is OK for this demo, but if all platforms were the same width it would be possible to pre-calculate how a platform looks at all angles, which would result in much faster drawing. The 3D look of a platform when it rotates around the edge of the tower could also be improved with this approach.

 

 

Attached Files


Edited by Asmusr, Mon May 21, 2018 2:38 AM.


#35 LASooner OFFLINE  

LASooner

    Moonsweeper

  • 294 posts

Posted Mon May 21, 2018 11:20 PM

Are you going to create a 3d effect on the edges of the doorways?



#36 fabrice montupet OFFLINE  

fabrice montupet

    Moonsweeper

  • 386 posts
  • Location:Burgundy - France

Posted Tue May 22, 2018 5:03 AM

Once again, I think that we will have a great game!


  • RXB likes this

#37 Asmusr OFFLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,874 posts
  • Location:Denmark

Posted Tue May 22, 2018 9:07 AM

Are you going to create a 3d effect on the edges of the doorways?

 

That's actually a pretty good idea.  :)



#38 Asmusr OFFLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,874 posts
  • Location:Denmark

Posted Tue May 22, 2018 9:09 AM

Once again, I think that we will have a great game!

 

Well, it's not a game yet and I don't know if it ever will. 



#39 arcadeshopper OFFLINE  

arcadeshopper

    River Patroller

  • 3,613 posts
  • Location:Portland, Oregon USA

Posted Tue May 22, 2018 10:13 AM

So i ran this on real hw, with a finalgrom99

 

It runs fine but after a bit it gives a loud beeeeeeeee

https://photos.app.g...P6rn8tykDrMeXy1

 

Greg



#40 Asmusr OFFLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,874 posts
  • Location:Denmark

Posted Tue May 22, 2018 11:41 AM

So i ran this on real hw, with a finalgrom99

 

It runs fine but after a bit it gives a loud beeeeeeeee

https://photos.app.g...P6rn8tykDrMeXy1

 

Greg

 

Possibly a buffer overrun into the >8400 area.



#41 BeeryMiller ONLINE  

BeeryMiller

    Dragonstomper

  • 585 posts
  • Location:Campbellsburg, KY

Posted Tue May 22, 2018 11:53 AM

Just a thought here.  Is it possible to define a door as a sprite, and you just redefine the sprite for the 3-D effect as you near the edge?

 

The sprite tracks with the movement/rotation?

 

Just a thought.



#42 Asmusr OFFLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,874 posts
  • Location:Denmark

Posted Tue May 22, 2018 1:33 PM

Just a thought here.  Is it possible to define a door as a sprite, and you just redefine the sprite for the 3-D effect as you near the edge?

 

The sprite tracks with the movement/rotation?

 

Just a thought.

 

The idea is to save the sprites for the player, monsters, and moving platforms.



#43 Asmusr OFFLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,874 posts
  • Location:Denmark

Posted Tue May 22, 2018 1:36 PM

The doors could have a simple 3D effect like this:

 

Attached File  doors.png   770bytes   5 downloads



#44 OX. OFFLINE  

OX.

    Moonsweeper

  • 498 posts

Posted Fri Jun 15, 2018 5:21 PM

The doors could have a simple 3D effect like this:

 

attachicon.gifdoors.png

 

That simple effect works very good



#45 Asmusr OFFLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,874 posts
  • Location:Denmark

Posted Fri Jun 15, 2018 11:46 PM

 

That simple effect works very good

 

The latest version shows the effect in action.

 

I'm no longer working on this, but I will probably return to it later. 

Attached Files



#46 OX. OFFLINE  

OX.

    Moonsweeper

  • 498 posts

Posted Sat Jun 16, 2018 10:43 AM

 

The latest version shows the effect in action.

 

I'm no longer working on this, but I will probably return to it later. 

 

Shame, I'd love to see it completed.






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users