Author Topic: Nemesis- a new axe 3d rpg  (Read 34163 times)

0 Members and 1 Guest are viewing this topic.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Nemesis- a new axe 3d rpg
« Reply #105 on: September 12, 2012, 08:24:03 pm »
Woah, nice variable wall heights and especially impressed by the stairs

Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: Nemesis- a new axe 3d rpg
« Reply #106 on: September 15, 2012, 10:22:06 am »
Is this still full axe? and does the speed drop a lot when you add more walls?

Also, will there be objects like plants, trees, chairs, ... to pretify the levels?

pure axe  ^-^ !

add more wall doesn't (or a litlle) change the speed
->object are planning, pnj to .
else, for the wall transparency, I now need a algorithm which sorts numbers from largest to smallest from data.

if anyone can help me ?

max speed on calc, with black wall and without FULL command
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline Rollum78

  • LV2 Member (Next: 40)
  • **
  • Posts: 36
  • Rating: +5/-0
  • Sodium
    • View Profile
Re: Nemesis- a new axe 3d rpg
« Reply #107 on: September 15, 2012, 11:03:07 am »
else, for the wall transparency, I now need a algorithm which sorts numbers from largest to smallest from data.
wich algorithm to use depends on the number of elements to sort...
if you have only a small data set, you could use "insertion sort"
Sachs'e nix mehr, hm?

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: Nemesis- a new axe 3d rpg
« Reply #108 on: September 15, 2012, 11:19:39 am »
If you have a second memory location to store the sorted array, this might be useful:

Pseudocode:
Code: [Select]
ptr = 0
For each element
Look for largest element
Write that data to (ptr)
Make original element 0
ptr++
Next element
Copy new array to original array

« Last Edit: September 15, 2012, 11:19:54 am by MGOS »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Nemesis- a new axe 3d rpg
« Reply #109 on: September 15, 2012, 11:28:35 am »
wait, that is without full?
that is epic!

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Nemesis- a new axe 3d rpg
« Reply #110 on: September 16, 2012, 02:43:51 pm »
Is this still full axe? and does the speed drop a lot when you add more walls?

Also, will there be objects like plants, trees, chairs, ... to pretify the levels?

pure axe  ^-^ !

add more wall doesn't (or a litlle) change the speed
->object are planning, pnj to .
else, for the wall transparency, I now need a algorithm which sorts numbers from largest to smallest from data.

if anyone can help me ?

max speed on calc, with black wall and without FULL command

That speed looks very impressive. I think that's about what I'd aim for. Also, the fact that you aren't using full mode yet is quite impressive! ;D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Nemesis- a new axe 3d rpg
« Reply #111 on: September 16, 2012, 06:20:49 pm »
Wow looks great indeed :O

Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: Nemesis- a new axe 3d rpg
« Reply #112 on: September 17, 2012, 06:29:16 am »
and here it is : no transparency !!

lose some speed, the algorithm is very slow :banghead:, but I think I can improve him.

without FULL command, max speed, decraese a lot with more wall
« Last Edit: September 17, 2012, 06:29:54 am by TheMachine02 »
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Nemesis- a new axe 3d rpg
« Reply #113 on: September 17, 2012, 06:58:23 am »
Well, it's not as fast as the previous screenshot, but it still is pretty good. :)

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Nemesis- a new axe 3d rpg
« Reply #114 on: September 17, 2012, 11:14:04 am »
Yeah, the speed is still alright as it is :)
However, would "wall-clipping" be possible (I mean that if a wall is partly off-screen, the part that is on-screen is still displayed) ?
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: Nemesis- a new axe 3d rpg
« Reply #115 on: September 17, 2012, 12:27:10 pm »
yep. it's just clliping line (with some correction)
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Nemesis- a new axe 3d rpg
« Reply #116 on: September 17, 2012, 02:38:54 pm »
Currently the line clipping reminds me of zDoom. I wonder if eventually it will be possible to have stuff that is partially outside the screen to still display?

Also with transparency disabled, it still seems to run at a quite good speed in the screenshot. O.O
« Last Edit: September 17, 2012, 02:40:05 pm by DJ_O »

Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: Nemesis- a new axe 3d rpg
« Reply #117 on: September 18, 2012, 01:16:59 pm »
Also with transparency disabled, it still seems to run at a quite good speed in the screenshot. O.O

because there is not a lot of wall. with 40 wall, it run about 1-2 FPS.... >:(
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Nemesis- a new axe 3d rpg
« Reply #118 on: September 18, 2012, 01:25:37 pm »
Can you have the game only render walls nearby (that are in front of you as well)? That way, what you could do is keep most rooms smaller or not complex, so there is never a lot of stuff around you to display and fewer walls. Another thing would be to use mostly dark textures, that way no transparency at all is needed.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Nemesis- a new axe 3d rpg
« Reply #119 on: September 18, 2012, 07:18:59 pm »
It's still rather fast IMO, especially now when rendering large places, great work again, and I bet you can optimize your code ^^

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!