Stencyl 3.4.0 is now out. Get it now!

LD39 : ROOP

mdotedot

  • *
  • Posts: 1222

Ludum Dare 39 :  Running Out Of Power

Game Name : ROOP
Publication to: HTML5
Stencyl Built: 9283 (3.4 Beta)

Idea: You are a power-bar and you have to collect batteries to avoid Running Out Of Power

Steps


Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

mdotedot

  • *
  • Posts: 1222
Technical Tip  For future reference:

Extras folder and HTML5
Putting files in the extras folder and use them while running your game from Stencyl:

Code: [Select]
$ mkdir $HOME/stencylworks/games/LD39_1/extras
Running HTML5 gives you the localhost:18524 local web service.

The location of files to be found in the extras folder is then:

 
Code: [Select]
  localhost:18524/assets/data/<yourfile>
Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

mdotedot

  • *
  • Posts: 1222
Development Log  (08:30 am = 5 hours)

Start with : CHROME

First Step

  • javascript loading mechanism (check for object rather than estimate download time)
  • FullScreen enablement
  • Basic 3D world
  • Accelerometer start



Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

mdotedot

  • *
  • Posts: 1222

Step 2



Second Step

Animation took a long time to figure out.

So for this step there is only really one thing: boxes with animation.

And I made a start with Virtual Reality, which I am trying to do next.

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

mdotedot

  • *
  • Posts: 1222

Step 3 : 16:30

Well .. did I say I was going to work on Accelerometer.


No:





Third Step


  • Textures
  • ‘Walls’
  • Combining Shapes

And now I really have to work on VR Stuff
Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

mdotedot

  • *
  • Posts: 1222
After hours and hours of coding / searching the web / testing : I kind of got frustrated with the whole VR stuff.

These are just two of my pages with test-results on them:


Different orientations effect the results of the accelerometer.
That can be re-calculated.
The real issue is that different devices report different numbers !!!!!!

I have a Nexus and a Samsung Note 4 as my main-vr systems and they have totally different results.
It did not help that I was using a Samsung Tablet during part of the development which also gave different results!!

What I wanted is that the player can control an object by looking up,down,left and right.
Attaching a virtual camera to an object and to the device orientation is not a problem and works on all devices.
I have a hard time determine what the VR is showing. If it is other objects I can use raycasting, but in 'blank' space I got nothing.

It does not help that I'm no mathmagician!

So I have to redirect my efforts:

1. Making VR for only the Samsung Note 4
2. Non-VR controls using touch
3. VR with Bluetooth mouse


Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

mdotedot

  • *
  • Posts: 1222
Step 4







  Fourth Step


Done:

  • Virtual Reality / Regular View
  • Mouse Click Movement (Use Bluetooth on VR)



Next: World / Levels , Graphics / Effects
Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

LIBERADO

  • *
  • Posts: 2340
 :) It is very interesting to observe the evolution of this great project.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

mdotedot

  • *
  • Posts: 1222
Thanks Liberado.


Step 5 (19:30 day2)







Learning so much about 3D/Textures/Matrices, etc.... and learning that is exactly what Ludum Dare is about for m.e.

Done:

  • Lighting / Shadow
  • TextLabels
  • Rotation Prevention
  • Level Implementation
  • Power Increase/Decrease


Next: More Levels / Textures / Physics

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

mdotedot

  • *
  • Posts: 1222
Step 6 : 09:00 day3

Done:

  • Mouse Movement ‘move to mouse’ behavior
  • Camera Tweening
  • SkyBox
  • MeshTextures
  • Core Game Mechanics


Next: Levels
Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

mdotedot

  • *
  • Posts: 1222

Step 7: 16:00 day3


Level 3



Level 4






  Seventh Step

Done:
  • Mouse Follow on mobile fix(hopefully)
  • Textures
  • 3D Model
  • Level Heights
  • Game Mechanics
  • HUD (no text or extra images on it yet)

Maybe I call it a day since I need to relax and spend time with my loved ones.

The last level (4) is still broken as the android-robot needs to move instead of do an idle walk.


Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

mdotedot

  • *
  • Posts: 1222

For now I've stopped working on this Ludum Dare adventure and started a new one using a cross-platform library:
http://community.stencyl.com/index.php/topic,52085.0.html

I've learned so much using the ThreeJS library and it made me want to do more with 3D.
Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

LIBERADO

  • *
  • Posts: 2340
Wow!!!  A 3D cross-platform solution for Stencyl? Sounds awesome!
The possibility of creating 3D games with Stencyl is the dream of many users.
   
Again, thank you very much for your excellent work.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.