BASIC

Author Topic: Reggie World ( Pandora , PC )  (Read 37912 times)

Offline Slydog

  • Prof. Inline
  • *****
  • Posts: 929
  • KodeSource
    • View Profile
    • KodeSource
Re: 3D RPG Engine for Pandora
« Reply #15 on: 2014-Nov-04 »
Love this!  :good:  Coming along very well.
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]

Offline nabz32

  • Community Developer
  • Dr. Type
  • ******
  • Posts: 307
    • View Profile
Re: 3D RPG Engine for Pandora
« Reply #16 on: 2014-Nov-07 »
Added new features today :)

-Replaced the fog with my own pseudo fog ( Better control of the actual Fog Position and the ability to offset the fog etc. )
-Added custom texturable skyboxes to the leveldata
-Added animations for tile textures, right now only up to 4 frames.
-Added flickering option for lights.
-Added option to input the start map and start point for the campaign.
-Added option to define Waterheight and Watertexture for each map.

Offline Marmor

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 908
  • 96A285CC
    • View Profile
    • my youtube channel
Re: 3D RPG Engine for Pandora
« Reply #17 on: 2014-Nov-07 »
Kannste mal aufhörn , ich krieg komplexe :D

Offline nabz32

  • Community Developer
  • Dr. Type
  • ******
  • Posts: 307
    • View Profile
Re: 3D RPG Engine for Pandora
« Reply #18 on: 2014-Nov-07 »
Here is also a screenshot of the new "fogging" =D:

« Last Edit: 2014-Nov-07 by nabz32 »

Offline nabz32

  • Community Developer
  • Dr. Type
  • ******
  • Posts: 307
    • View Profile
Re: 3D RPG Engine for Pandora
« Reply #19 on: 2014-Nov-19 »
More stuff!

-Added rails and mine carts.

-Added new Inventory system.

-Added swimming.

-Added the option to add music to each Level in the editor.

-Added an exit / entrance system ( easier to connect points in the editor plus Level connections now stand out for the player to see ). Before it was only possible to connect Levels through teleports.

-Improved Motorcycle controls.

-Fixed nasty Bug, Player could walk through diagonals at some movement timer values, but not anymore =D ( It was because I declared two important variables as int as a mistake, but they should have been float from the begining on :S )

Screenshots and Videos:

Inventory System:


Water and swimming ( without the swimming animation frames for the player though )
<a href="http://www.youtube.com/watch?v=R5yI7doj4Gc" target="_blank">http://www.youtube.com/watch?v=R5yI7doj4Gc</a>

Minecart and rails:



Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1142
    • View Profile
    • My GLBasic code archiv
Re: 3D RPG Engine for Pandora
« Reply #20 on: 2014-Nov-20 »
very nice. Any detail on how did make the splash and waves animations on the water? Looks like decals, but I dont belive this...
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Offline nabz32

  • Community Developer
  • Dr. Type
  • ******
  • Posts: 307
    • View Profile
Re: 3D RPG Engine for Pandora
« Reply #21 on: 2014-Nov-20 »
The splash waves are just one 3D plain with alpha testing and alpha mode,
they are scaled and blended out smoothly till their time comes. Pandoras GPU dosen´t seem to slow down much when using Alphatesting a lot.

I also thought of adding a low poly cylinder with a texture that looks like wavey water from the side, for stronger splashes.

I also did real 3D splash waves in another project back in dbpro, but the Tilesize I use for the watergrid is to large to look any good
( the tilesize is double the tilesize of the terrain, for a better performance on the pandora ).

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1142
    • View Profile
    • My GLBasic code archiv
Re: 3D RPG Engine for Pandora
« Reply #22 on: 2014-Nov-20 »
But you need one plain for each splash wave - how do you avoid z-fighting issues?
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Offline nabz32

  • Community Developer
  • Dr. Type
  • ******
  • Posts: 307
    • View Profile
Re: 3D RPG Engine for Pandora
« Reply #23 on: 2014-Nov-21 »
I am using the same plain for every splash wave. ( scaled and positioned and drawn )
for the Pandora the z-fighting issues are way more persistent than on the PC.
I just draw the splash wave higher than the water surface, the Y difference needed to avoid the z issues is still not visible to the naked eye ( perhaps only if you look really really close ).
I also could just update the texture for the watertiles which have the splash on them, but this would mean I have to convert the water texture images and the splash waves into a directly readable format, to avoid using the not working sprite2mem command on the Pandora. ( I used this method for the health bar and the file size turned out to be a bit larger than the bmps )

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4977
  • O Rly?
    • View Profile
Re: 3D RPG Engine for Pandora
« Reply #24 on: 2014-Nov-21 »
Ohne Flax... Du bist so ein geiler Hund!  :blink:
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1142
    • View Profile
    • My GLBasic code archiv
Re: 3D RPG Engine for Pandora
« Reply #25 on: 2014-Nov-21 »
for the Pandora the z-fighting issues are way more persistent than on the PC.
I just draw the splash wave higher than the water surface, the Y difference needed to avoid the z issues is still not visible to the naked eye ( perhaps only if you look really really close ).
I guess z-fightung issues are more visible on pandora, because it uses floats (correct?) for calculations, while PC uses doubles.
Since you draw several splash waves, does his mean, you draw your plane at several highs, which means, that you effectively increase water level?
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Offline nabz32

  • Community Developer
  • Dr. Type
  • ******
  • Posts: 307
    • View Profile
Re: 3D RPG Engine for Pandora
« Reply #26 on: 2014-Nov-24 »
The splash waves z-fights between each other are not really visible to the eye, since its only some small texture spaces overlapping directly.
So I can draw those at the same height.

I am thinking about adding the need to breathe air under water. It has some pros and cons I have to weigh up against each other.
Also thinking about seperating the jumping force gained through items and swimming power from each other, right now swimming is just applying the jump force multiplicated by a certain factor. So equipping items that gain jump force also increase the players swimming abillity.
If I would add a swimming force skill to the player also, the player would need to equip items that help him to swim, or I could just give him a standart swimming abillity that can´t be improved during the game. Decisions decisions...

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4133
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: 3D RPG Engine for Pandora
« Reply #27 on: 2014-Nov-24 »
I suppose swimming or walking would depend on the depth of the water. It would be cool to have underwater levels, like the Mario games, but need to suck in air, a la Sonic.

IMHO this is shaping up to be a real highlight for GLBasic and of course your own skills too :)  :good:

 :nw:
I came. I saw. I played.

Offline nabz32

  • Community Developer
  • Dr. Type
  • ******
  • Posts: 307
    • View Profile
Re: 3D RPG Engine for Pandora
« Reply #28 on: 2014-Dec-18 »
Quote
I suppose swimming or walking would depend on the depth of the water.
Yeah the speed of movement depends on how far the body of the player is under water, also the player is slightly faster when he does a swim motion.
I added maxAir and swimSkill attributes to the Player.
This way the Player needs to improve those skills to be able to explore water Levels to the max.

I now interpolate the Frame Timer Variable, which results in smoother movements on the Pandora version.

Enemys and items can now be connected to block types.

Tiles now hide smoothly.

Added 3 saveslots for saves, Added a save block, enabled saving.

Player Texture is now dynamically put together to match the Players equipped items.

Added dying, smooth map transitions and game over.

Added coin record / cash system as planned.

Added more variety to Event commands and added some new ones
Actions:
Change Event Object , camera position set ( as opposed to camera move ) , Hide interface ).
Conditions:
check for coin record , check for using an item.
Added "Player on ground" flag to the conditions player action and player collision.

Added fuel interface sprite.

Added fire sprite for Jetpack exhaust effect.

Fixed handling of shadow on Tiles that needed special UV Scaling.

Made new Models, Maps, enemys, Blocks...

New Videos:

An older video of the PC Version:
<a href="http://www.youtube.com/watch?v=2Vodd6Rfjs0" target="_blank">http://www.youtube.com/watch?v=2Vodd6Rfjs0</a>

A more up to date video of the game running on the Pandora:
<a href="http://www.youtube.com/watch?v=vQ6TMOWiBR8" target="_blank">http://www.youtube.com/watch?v=vQ6TMOWiBR8</a>

« Last Edit: 2014-Dec-18 by nabz32 »

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4147
    • View Profile
    • Portfolio
Re: 3D RPG Engine for Pandora
« Reply #29 on: 2014-Dec-18 »
This is coming out awesome.

but I have a quirk to comment, and I hope you excuse me that way...
I believe the end-world(borders) you have around the actual game world, like an empty space, could be dealt a better way.
Maybe an extension of the the borders on a slightly different color? what do you think? Zeldas may help that front in inspiration.
It is just that empty space seems like an immersion breaker to me.