Author Topic: Castle Storm II  (Read 42880 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Castle Storm II
« Reply #15 on: January 19, 2010, 12:02:31 am »
In the center of the window, and no luck. Button said Run

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Castle Storm II
« Reply #16 on: January 19, 2010, 12:04:38 am »
Mmmm thats why, it is paused.  Try pressing re-set.  If the button doesn't say Pause, press it and then try again.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Castle Storm II
« Reply #17 on: January 19, 2010, 12:06:25 am »
I did, then i reloaded page, then even went like clicking the button like 10 times and it would get stuck to run. Nothing would start at all. Reset would reset the game, but would not fix the run button either.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Castle Storm II
« Reply #18 on: January 19, 2010, 12:09:39 am »
Hmmm, let me try to reupload it.  I've seen this problem happen to me before, but a reset usually fixed it.  What does the screen say?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Castle Storm II
« Reply #19 on: January 19, 2010, 12:10:08 am »
it just gets stuck on the mouse calibration instructions

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Castle Storm II
« Reply #20 on: January 19, 2010, 12:15:08 am »
Hmmm, well I re uploaded the game, i think it will work.  If not, I will have to do some more research...

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Castle Storm II
« Reply #21 on: January 19, 2010, 01:18:22 am »
Impressive!
How does it work? Do you raycast the vertical walls and then draw in the tops of the boxes?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Castle Storm II
« Reply #22 on: January 19, 2010, 01:24:15 am »
YES it worked!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Castle Storm II
« Reply #23 on: January 19, 2010, 01:39:18 am »
Yay!  So note to self, trying to auto start messes with some computers.

And hi bwang.  That might have worked, except the walls are different heights and you can look up and down.  What I use I basicaly a rasterization with a matrix as the base.  It loops through the matrix, rendering the (at most) 3 polygons needed to display a tile.  1 for the tile itself (which does not need to be rendered if you are below the polygon) and then at most 2 edge polygons.  You can get an inside look into how the map is rendered by pressing z or x to see the map built row by row or tile by tile.

I was inspired a lot by the Doom engin, but scaled it back a bit from the binary space partitioning to matrices to make it both faster and easier to use. 

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Castle Storm II
« Reply #24 on: January 19, 2010, 02:16:36 am »
Btw, I think I noticed a glitch: I am not certainly sure if it happens this way, but when I am moving forward while constantly jumping like a kangoroo (i hold down the jump key), if I climb stairs or the like, I move incredibly fast, so much that once I think I ended up in a wall or outside the map and could no longer move/turn around. I think the game even crashed cuz reset/run would not respond either. Closing the window worked, though.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Castle Storm II
« Reply #25 on: January 19, 2010, 10:02:28 am »
Yep, usualy happens when trying to jump on the waving floor section.  When the floor is just right, every frame you jump, there is a floor you can jump off of.  I though i was being clever in that when jumping and moving, you can move faster than normal, but it results in this unsightly problem :/ It'll be a simple fix.

(And I'm looking to make it that you can't kep jumping while just pressing space :P)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Castle Storm II
« Reply #26 on: January 19, 2010, 01:25:51 pm »
(yeah that might be a good idea, it tends to not look as professional otherwise :P)

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Castle Storm II
« Reply #27 on: January 19, 2010, 01:38:45 pm »
holycrap thats epic XD

i cant wait to see how this comes out in the end XD

(its epic when running at 15fps i cant imagain at 60 XD)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Castle Storm II
« Reply #28 on: January 19, 2010, 01:41:38 pm »
I don't really mind low FPS personally. Back when I was 17 I often played Unreal Tournament GOTY on a P2 350 MHz at 512x384 resolution at like 15-20 FPS at most. I get between 49 and 60 on Builderboy's game, though.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Castle Storm II
« Reply #29 on: January 19, 2010, 02:42:32 pm »
Wow, you only get 15 fps?  I'm suprised because currently this game is running faster than most of my other 3d games.  On my laptop I can get up to 130 fps if I uncap the speed (currently it's capped at around 60, so your doing good dj) well I'm glad everybody is liking it :D

I'm currently thinking about how to get objects working...