[plugin] 3D using Copperlicht Forum Home > Construct 2 Development > Plugins for Construct 2 |
Post Reply
|
Page <1234 6> |
| Author | |
Post Options
Quote Reply
Posted: 08 Mar 2012 at 4:22pm |
|
|
ok, I tried set angle when left or right is pressed. I also added set speed(from the 8directions behaviour) when the up key is pressed. However, when i press Up, the sprite is resetting the angle to zero and then moves to the right.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 08 Mar 2012 at 5:32pm |
|
|
I dont get what your asking, explain what you want more.
do you want the player to face the right angle depending on what key is pressed? or do you want it to rotate smoothly depending on the arrow keys? |
|
|
In memory of flash :'(
|
|
![]() |
|
Post Options
Quote Reply
Posted: 08 Mar 2012 at 5:36pm |
|
|
This reminds me a lot of the Irrlich Engine plugin for MMF when it was announced a long time ago. Nostalgic feelings. :)
|
|
|
Personal Portfolio: www.prr-art.com
|
|
![]() |
|
Post Options
Quote Reply
Posted: 08 Mar 2012 at 5:56pm |
|
|
Very fascinatig, it would be splendid to see more of the progress :D
|
|
![]() |
|
Post Options
Quote Reply
Posted: 08 Mar 2012 at 6:23pm |
|
|
Very awesome, it'd be cool to see what comes of this!
|
|
|
Jayjay =]
|
|
![]() |
|
Post Options
Quote Reply
Posted: 08 Mar 2012 at 9:12pm |
|
|
Oh wow, looks very nice!!
|
|
![]() |
|
Post Options
Quote Reply
Posted: 08 Mar 2012 at 11:12pm |
|
|
Wow very good, this would be an amazing addon to c2
|
|
|
http://dl.dropbox.com/u/44766364/Games/Space2011/index.html Space 2011 (C2 Competition Entry
http://dl.dropbox.com/u/44766364/Games/getin/index.html Get That Ball In (C2 Game) |
|
![]() |
|
Post Options
Quote Reply
Posted: 09 Mar 2012 at 12:49am |
|
|
@smitchell: I have the following events and actions right now to allow the sprite to rotate left and right and to move forward or backward in the direction the sprite is facing:
The problem with this is that it does not use the built-in movement behaviours, so the object is not stopping when colliding with solids. @newt suggested using the 8-direction behaviour, but that does not work because the sprite can only move in 8 directions and not any direction like the demo does right now. I could copy the the 8direction behavior and mod it in javascript to allow moving in any of direction (any of the 360 degrees) ; but before doing that I want to make sure I am not re-inventing the wheel by doing something that can be accomplished with the already-made behaviors. As always, thank you for your time helping me. @Animmaniac: I did not know there was an irrlicht plugin for MMF :), I bet that was a very welcomed addition to it. The last click product I used was MMF classic (v1.0) and before that, Klick and Play. I loved the days of Klick and Play when every body was sharing their code files in the maxis website, a lot of people built on top of other people's work, that was my first exposure to "open source code" (if you can call it that :) ). Anyways, glad to see another ex-click here, I am very excited about C2, building plugins for it is like 10 times easier than building them for MMF 1.0. |
|
![]() |
|
Post Options
Quote Reply
Posted: 09 Mar 2012 at 12:55am |
|
|
You can fake it with a on collision event inverted as the first trigger.
Sprite negated is overlapping wall >- do stuff capx That doesn't take backing up into account for objects tho.:P Edited by newt - 09 Mar 2012 at 1:13am |
|
![]() |
|
Post Options
Quote Reply
Posted: 09 Mar 2012 at 1:06am |
|
|
Something like this could hopefuly work.
|
|
![]() |
|
Post Reply
|
Page <1234 6> |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |