Stencyl 3.4.0 is now out. Get it now!

3D Library Adventure

merrak

  • *
  • Posts: 1632
I'm pretty impressed with how smooth movement is. Collision detection against the walls works really well and it's easy to navigate. It would be helpful to have light + shadows so that the walls didn't blend together, though.

mdotedot

  • *
  • Posts: 1270
Thanks merrak. Light/Shadow is on my todo list.

The last two weeks I’ve been working on the extension code.

I started with blocks for everything but that became quite a mess:



This was only a very small part of the estimated final implementation.

Then I discovered that I could do a lot with (HaXe) Reflection.

Again I had to redesign the extension code base.
Also, I decided to split the extension into two parts. One is to help finding the TEXT parts of the
blocks. This can be altered once Stencyl allows extension blocks to have dependent dropboxes.

The current core extension is this:

 
The game is now a First Person Maze Crawler:



A previous-path indicator is necessary to avoid running in circles :D

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


yoplalala

  • *
  • Posts: 1430
What are dependent dropboxes ?

mdotedot

  • *
  • Posts: 1270

@NickamonPoppytail :  Thanks.

@yoplalala:

Suppose that this is one [CREATE] block where the second dropbox is dependent on the first:


For the next type (Filter) the dropbox will change into this:


And the geometry selection would be like this:


It will greatly reduce the number of blocks and also make it easier to know what the next selection should be.
Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

SadiQ

  • Posts: 1738
Dependent dropboxes?? Finally. Been wanting those since 3.0.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

mdotedot

  • *
  • Posts: 1270
Ha! SadiQ  : this is a REQUEST and still not available. Not even in the 3.5 private release :D
Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

merrak

  • *
  • Posts: 1632
Extension is looking nice so far! It would be useful to have some dependency management. I have a ridiculous number of blocks in some of my extensions, and that would clean up a lot of them. A few more colors would be good, too.

mdotedot

  • *
  • Posts: 1270
 Great feedback Merrak!

Stencyl uses these colors:

Blue Drawing, Actor properties,  Images
Green  Calculation, Flow, User Input 
Yellow    Loops 
Gray    Debug, Advanced,
Dark Green     User Input
Red  Behaviors , Scenes, Tiles, World, View , sounds
Black Special 
Purple Game Attributes 

When all my blocks are finished I might change my mind but what I’m currently think is:

Red  create objects   / call methods   
Blue set properties     
Yellow    wrapper blocks /  wrapper variables / Events
Green    get properties / mouse
Black    Init / Remove / add stage 
Purple    Bind Actions 


And the Helper Blocks that have dependencies with these will be the same color.
So the type creation list will be red and the properties list will be blue


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

NobodyX

  • *
  • Posts: 1197
Already making it into an extension?? So cool!
“If you wind up with a boring, miserable life because you listened to your mom, your dad, your teacher, your priest, or some guy on TV telling you how to do your shit, then YOU DESERVE IT.”
― Frank Zappa

yoplalala

  • *
  • Posts: 1430
I don't remember seeing the dependent dropbox in the requests but it would be great indead :)

« Last Edit: October 23, 2017, 03:10:14 am by yoplalala »

mdotedot

  • *
  • Posts: 1270
After taking a lot of time to invest into my new developing rig, I now am back on track.

Also,  I ported some part of the code to the new Stencyl build. I had to change some blocks.xml code.

And the most important thing:  I found how to get rid of the Stencyl-background color that blocked the 3D output. So you don't need to put the scene to [no color]  in order to see anything.

Latest update:

Click on image to play the demo:





Animation:



Next Up: Skybox / BeachBalls

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

mdotedot

  • *
  • Posts: 1270
Spend some time to make it a proc jam entry. It is running till 13th of November. But you can do late submissions.

ProcJam main page


My ProcJam entry page



Found the openfl setting for html5 automatic resize posted by LetMeThink: <window resizable="true" if="html5" />

Click image to play the game:






Animation:



Not sure if I will have time this week to add SkyBox and other stuff that I had planned.

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

squeeb

  • Posts: 1142
Wow!  Runs really well on mobile
Maybe I can make something like this 1st person castlevania game when this is done. ;)
https://youtu.be/ZzBLZ5o18VA

merrak

  • *
  • Posts: 1632
Runs really well for me, too! (FYI I did get the other one to download as well).

I did notice some kind of weird flickering with the lights. I tried to get a screenshot of it and managed to get this (attached). At first I thought you had a moving sun, since the shadows changed position as if the sun was speeding across the sky. But then the lights on the wall flickered.

I don't know how much of the work with lighting + shadow Away3D is doing for you and how much you have to do on your own. In my rendering engine this sort of behavior is a result of the vertices of walls being set in the wrong order. I use clockwise, but I'm not sure what Away3D is expecting, or if this is even something Away3D handles on its own without needing your input.