3D Library Adventure

mdotedot

  • Posts: 1554

 Block to be used. Three versions: String, File in extras folder and online HTTP
 

 

 Results
 
 Flash
 

 

 Windows
 

 

 Macintosh
 

 

 iOS
 

 

Didn't try Linux/Android
 
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

greatanthony

  • Posts: 168
always delighted to see this journal's progress! :)

mdotedot

  • Posts: 1554
Thanks for the nice comment @Anthony



Today I worked on a bug where there were two (or more) freeform shapes where only one got saved.

And made an Android version of the editor! (Which you can download from the site if you want!)
Latest version: http://photoquesting.com/Draw3D




Also, I modified the block extension to not display immediately and that you can use the name to display it



And do animation on the mesh when you need it:




Resulting in :





Now back to the demonstration games and incorporate some self-created-objects.
 

Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

mdotedot

  • Posts: 1554
Today I worked on the Balloon 3D game and made these assets:






Resulting gameplay:








Yeah I know the conveyorbelt is turning the opposite way in the last one: I corrected it after making the gif :D

By the way : the blue ball is the second player -> it is a cooperative multiplayer game.
 
 
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

mdotedot

  • Posts: 1554
Due to my vacation I can do a lot more.

Today I revisited the Sokoban 3D and changed perspective again


You can play it yourself (with a friend as well) Local Multiplayer Sokoban in 3D


Edit -> Also:

Completed the Balloon Game (Demo)


You can play it yourself (with a friend as well) Local Multiplayer Balloon in 3D




 
 


« Last Edit: September 26, 2018, 11:24:21 am by mdotedot »
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

mdotedot

  • Posts: 1554

For the editor:

I had troubles getting things to rounded numbers with the default slider which was frustrating.
Decided not to implement text-input but rather use 'buttons' to fine-tune the navigation.




Probably I'm not going to work on 3D stuff the coming week, since I want to do some other 2D image stuff.

 
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

Adder

  • Posts: 37
The 3d html demos don't seem to work for me; All I get is a black screen.
Hiss hiss

mdotedot

  • Posts: 1554
Which browser and version do you use Adder? 
Also, can you copy / paste the error from the browser console?!
Chrome : Right Mouse Click : Inspect : Console
IE (> 11.0) :  F12 : Console Tab
Safari : Right Mouse Click : Inspect Element : Console
Firefox : Right Mouse Click : Inspect Element : Console
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

mdotedot

  • Posts: 1554
The couple of weeks I've worked on some 2D stuff but also joined a chat on openfl community on antialiasing.
Turns out there is a fix for HTML5 and Windows not using anti-aliasing.

Before the fix the HTML5 output of non-texturized shapes looked like this:


And with the fix the outline is :


The fix is by the way this extension file (include.nmml)
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<project>
 <define name="openfl-share-context" value="" unless="flash" />
 <window background="#00000000" antialiasing="4"  unless="flash" />
</project>

Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

mdotedot

  • Posts: 1554
The past days I've tried to get a Stereo 3D effect so that a game can be played with a VR-HeadSet.




In the progress of debuging the Stage3DProxy I've made a project where I could use example code from the web in Stencyl.
Here is the Stencyl Extension for the Code Lovers amongst us who just want to code in HaXe :  Away3D/OpenFL extension    (sample template .stencyl included in the extension)


Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

RosalinaGalaxer

  • Posts: 239
Hey mdotedot,

How stable is this extension so far? I was wondering if it would be possible to make something like Touhou's backgrounds: not interactive, but with some funky stuff going on. And would you be able to have a 2D game over top the 3D background?

Here's an example of a stage with a relatively weird background: https://www.youtube.com/watch?v=bEyBxqTKQIM 1:15 is where it really gets going.
Ģ̷̓l̴̥̒͑̕͝ì̷̘͈̬͈̖̂͂̔̕t̷͔͇̯̥̬̀̽̓͜͝c̵͇̦̼̮̉̐̈́̕͝ͅͅḣ̵̡̫̞͚̐̅ͅë̶̗̦̪̖͚̜́͊̄͑s̵̺̹̖̼̥̃.̴̮̫͐ ̶̛̯͍̓̇̾̎Ť̵̳̻̙̦̈́̅̓͆̚h̴̗̩̫͖̍͑̋̋͗͜͜e̴̻̰̔̂ ̷̢͈̖̏́b̸̘̻͖̣̙̍͒̆́a̶̺̗̟̿͒n̵̡̼̘̺̚ḙ̸̗̹̥̜͐͘͝ ̸̨̮̭̳̓͜ō̸̧͙̜̮̌͑f̴̜̒̔̆͊ ̵̪̹̱̪̌͘͝Y̸͔̪̽͠u̷̱̳̟͒̂̊͒̕͜ḿ̸̡̤͚̬̪ë̵̪͍̹͝k̶̝̣̗̞̹̖̅̊̅y̶̧̞̟̤͚̋̀̔o̴̯̾'̷̠̐̋͂̇̿̕s̴̡̬̲̠̰̦͗͂ ̴̢̘̤̝͆̀͘b̸̛͖̲͒̅̊̏͝o̶̘̮͊͐͗̇͠͝r̷̰͓͍̣̀̄d̷̢̞̂̚e̶͖̲̯̰̫̅̈͗r̸̢̒̊͜ͅ

“I have never seen a more heated discussion about context, jazz, and cats.” - VanillaButterz

mdotedot

  • Posts: 1554
Hello RosalinaGalaxer,

Thank you for the interest.

How stable is this extension? It is as stable as openfl and Stencyl goes. So there of course are bugs and there are limits of the engine.
The most annoying is that MD5 animations don't run on HTML5.
Other limitations are also more platform dependent. Flash running locally and trying to access files on a server for objects. Some Away3D library calls are HTTP(s) only and therefor will fail on locally running Flash.

'Would be able to have a 2D game over / on top of the 3D stuff?'  That is the only way it works. I haven't found a way to display 3D stuff in front of the 2D stuff.

What do you mean with '  not interactive background ' . The makers of Touhou could well use a movie instead of the interactive nature of 3D. There is an extension on loading and playing movies on mobile. It is restricted in its capabalities but it might be something you can experiment with ( http://photoquesting.com/repo/html/video.php Video Extension )

Basically the 3D Library could make that background. Not sure if it would be able to do it 100% the same as Touhou's background but at its core it should be able to make it.

Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

RosalinaGalaxer

  • Posts: 239
Oh yeah, I didn't even think of using a video/.gif to make a "3D" background. That would probably be better for framerate, as well.

What do you mean with '  not interactive background ' .
I meant that the background was there to serve solely as a background, and not have any impact on the game itself.
Ģ̷̓l̴̥̒͑̕͝ì̷̘͈̬͈̖̂͂̔̕t̷͔͇̯̥̬̀̽̓͜͝c̵͇̦̼̮̉̐̈́̕͝ͅͅḣ̵̡̫̞͚̐̅ͅë̶̗̦̪̖͚̜́͊̄͑s̵̺̹̖̼̥̃.̴̮̫͐ ̶̛̯͍̓̇̾̎Ť̵̳̻̙̦̈́̅̓͆̚h̴̗̩̫͖̍͑̋̋͗͜͜e̴̻̰̔̂ ̷̢͈̖̏́b̸̘̻͖̣̙̍͒̆́a̶̺̗̟̿͒n̵̡̼̘̺̚ḙ̸̗̹̥̜͐͘͝ ̸̨̮̭̳̓͜ō̸̧͙̜̮̌͑f̴̜̒̔̆͊ ̵̪̹̱̪̌͘͝Y̸͔̪̽͠u̷̱̳̟͒̂̊͒̕͜ḿ̸̡̤͚̬̪ë̵̪͍̹͝k̶̝̣̗̞̹̖̅̊̅y̶̧̞̟̤͚̋̀̔o̴̯̾'̷̠̐̋͂̇̿̕s̴̡̬̲̠̰̦͗͂ ̴̢̘̤̝͆̀͘b̸̛͖̲͒̅̊̏͝o̶̘̮͊͐͗̇͠͝r̷̰͓͍̣̀̄d̷̢̞̂̚e̶͖̲̯̰̫̅̈͗r̸̢̒̊͜ͅ

“I have never seen a more heated discussion about context, jazz, and cats.” - VanillaButterz

mdotedot

  • Posts: 1554

Last couple of weeks I've been working on finishing the games for my yearly family meeting where we played 9 of my games. Great success!
The LIBERADO Balloon was hilarious when both my nephew and brother-in-law were playing it. Blaming each other for bad decisions :)
Also Acceleration BoardGame and the Virtual Reality Maze were cool.

Then I took a little break from programming (Christmas) and now I'm going to start the New Year (early) to gather all my 3D stuff together and prepare for an Extension Launch.

This week I've debugged a problem that I've caused to fix yet another problem  :)  :(     Took me a couple of days to find it :(

So I've got my work cut out for m.e. when I will revisit all the 3D stuff that I've made using the 'version 2.0' of the extension.

I will supply a Demo with most of the functionality of the Away3D Library.
The .stencyl file will allow extension users to investigate the demonstrations so that they can use the extension in their own games.
Also there are some tools written that I need to compile with the latest Stencyl version and the latest extension to see if it still works.

Today I leave you with some screenshots of the latest work that I've been doing on 3D game/demo:

Demonstration game:


I've converted an earlier demo that I made with help from DinciCode into:
Dinci Draw 3D



Happy New Year to all!




Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

Wasanni

  • *
  • Posts: 117
Can't wait to see more 3D in StencyI! I try to stay updated on this thread, It's very intriguing! I'm a 3D artist and it would be fun to be able to add 3D elements to a game in Stencyl one day! Very impressive!!! :)