English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 14 January 2019, 17:14   #421
amiman99
Registered User
 
amiman99's Avatar
 
Join Date: Sep 2009
Location: San Antonio, TX USA
Age: 50
Posts: 1,184
Quote:
Originally Posted by Yoz Montana View Post
Yes, it's possible.
Panel Objects : z:[ insert number of depths ]
Hmm...I can not find this option and I'm using the latest Redpill version.
I went through all the condition and action panels.


Also, can you compare the enemy y position to the player, and then do action to change the Z plane?

Edit: I did find "Z" option in the object window, which is nice, but I need to change it during run time. It's needed for beatem ups like Golden Axe, Final fight etc.

Last edited by amiman99; 14 January 2019 at 18:31.
amiman99 is offline  
Old 14 January 2019, 17:15   #422
d4rk3lf
Registered User
 
d4rk3lf's Avatar
 
Join Date: Jul 2015
Location: Novi Sad, Serbia
Posts: 1,645
@DamienD
It's kind of a my fault.
I saw that thread, but was kind of afraid that no one will notice my first question there, so I asked here.

Not sure if it's better that we keep all questions in separate thread, or in this thread.
If Zener wants this thread clean of questions (and only for updates, and bug reporting), I'd gladly ask questions in other thread.
But then again, after a while (if we have pause), every new Redpill user will naturally ask here.

Dunno if it's the best keeping questions in other thread

But I'll respect whatever you guys decide.
d4rk3lf is offline  
Old 14 January 2019, 20:02   #423
Zener
Registered User
 
Zener's Avatar
 
Join Date: Jan 2009
Location: Barcelona / Spain
Posts: 432
I have no problem in asking questions here, whatever works for communication is fine.

About Z, yes, there is a field in objects for Z, I knew it was going to be useful some day. I will allow to sort by Z in realtime, just keep in mind it is going to use some CPU, I hope not a lot.
Zener is offline  
Old 14 January 2019, 22:49   #424
amiman99
Registered User
 
amiman99's Avatar
 
Join Date: Sep 2009
Location: San Antonio, TX USA
Age: 50
Posts: 1,184
Quote:
Originally Posted by Zener View Post
... I will allow to sort by Z in realtime....

So, not yet, but in the future?



BTW, At the beginning of the Redpill I had a lot of trouble getting things working do to crashing and instability of the sw, but now, not a single crash so far. I'm glad it's progressing nicely.
amiman99 is offline  
Old 15 January 2019, 05:08   #425
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 676
I have one more question to ask. A help on the matter of spawning a character and moving by keys on the keyboard. I have the psycho face to be the place that does all the controlling of the character, determining the turn, determining the winning point etc. However, I want when I spawn the character and use the input key to move up, down, left, right I don't want the psycho face to move..but the spawned character I just spawned until I hit enter. Then the second turn takes effect and the new character spawned to be moved by the second character and so on. Can someone give me a starting point how do I go about doing this?

Thanks in advance.
xboxown is offline  
Old 15 January 2019, 12:36   #426
Yoz Montana
Registered User
 
Yoz Montana's Avatar
 
Join Date: Dec 2017
Location: FRANCE
Posts: 153
Quote:
Originally Posted by Zener
1. Sometimes clipping and slowing sprite
Please could you give me more details about 1?
RedpPill 0.6.10 | Clipping and slowing sprite in this video:
[ Show youtube player ]

Bug freeze or Guru Meditation : file "sprites.rar"
When i load this image sprites.iff, i don't understand why RedPill freeze or Guru Meditation.
The behavior is not normal. I already had this problem with background images that do not load.


Suggestion : improve gestion of Object and triggers
------------------------------------------------------------------

Panel Objects :
Can you leave the icons for each objects :
[ Add Object ]
[ Dell Object ]
and create a new icon [ Insert Object ] as
[ Add Object ]
[ Insert Object ]
[ Dell Object ]

Panel Edit Triggers :
Can you create a new icon [ Insert ] as [Add][Ins][Copy][Paste][Del][Save][Load]
------------------------------------------------------------------------------------------------

Update example Gloden Axe version AGA with 6 playable Levels.
In this demo, i used triggers Check Exits, defined the map limits to 10 at 84 and for direction i used mirror animation for character. The backgrounds are 256 colors
Attached Files
File Type: rar example_goldenaxe_AGA_by_YozMontana.rar (333.3 KB, 128 views)
Yoz Montana is offline  
Old 15 January 2019, 12:44   #427
d4rk3lf
Registered User
 
d4rk3lf's Avatar
 
Join Date: Jul 2015
Location: Novi Sad, Serbia
Posts: 1,645
Great work with Golden Axe so far.
It even works on RedPill version 6.9 that I have on my laptop.
Will you add fighting inputs (sword)?
----------------------------------

I still struggle on how to instantiante (spawn) object at rate I want.

EDIT:

I finally did it!
Wopeeeeeee!

Here it how it goes, if anyone struggle with spawning object at rate you want.

First create a timer (let's say 1000 value) and call it "Spawn"
Then Spawner object needs triggers to be setup like this:

1)
Condition
Once

Action:
Activate Timer: Spawn

2)
Condition
X Var Triggered: Spawn

Action:
Instantiante (object that spawns)
Activate Timer: Spawn
-----------------------------------------

And there you go.
Whenever you reduce timer in Globals (let's say from 1000 to 500), it will spawn faster... and opposite.

Cheers to all!

Last edited by d4rk3lf; 15 January 2019 at 14:07.
d4rk3lf is offline  
Old 15 January 2019, 21:26   #428
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 676
Quote:
Originally Posted by d4rk3lf View Post
Great work with Golden Axe so far.
It even works on RedPill version 6.9 that I have on my laptop.
Will you add fighting inputs (sword)?
----------------------------------

I still struggle on how to instantiante (spawn) object at rate I want.

EDIT:

I finally did it!
Wopeeeeeee!

Here it how it goes, if anyone struggle with spawning object at rate you want.

First create a timer (let's say 1000 value) and call it "Spawn"
Then Spawner object needs triggers to be setup like this:

1)
Condition
Once

Action:
Activate Timer: Spawn

2)
Condition
X Var Triggered: Spawn

Action:
Instantiante (object that spawns)
Activate Timer: Spawn
-----------------------------------------

And there you go.
Whenever you reduce timer in Globals (let's say from 1000 to 500), it will spawn faster... and opposite.

Cheers to all!
I have been asking about spawning..got ignored but you answered it in a different topic which is great for me!

Here is the thing...I want to spawn an object let us say at X=32, Y=0. How do I go about doing that? Then I want to control that object I spawned until I hit the enter key then it spawns another object at X=32, Y=0 and control the next spawned object while keeping the first spawned object in its place. How do I do that?

Thanks in advance.
xboxown is offline  
Old 16 January 2019, 09:39   #429
d4rk3lf
Registered User
 
d4rk3lf's Avatar
 
Join Date: Jul 2015
Location: Novi Sad, Serbia
Posts: 1,645
Quote:
Originally Posted by xboxown View Post
I have been asking about spawning..got ignored but you answered it in a different topic which is great for me!
Hey mate.
We are not being ignored, it's just that this community is very small, and they all have their personal projects.
Last few pages both Zener and Yoz Montana provided a huge help on various questions, but we can'r expect that they are here 24h/day for our beginner questions.
Personally, I think it's better for Zener to focus on developing this app, then to answer these questions.
Then again, I think it's really time that someone do a basic help file on what each condition and action means, so new users don't get stuck from the start.
-----------------------------

As for your questions, as you know, I am also beginner, but I maybe able to help you on the first part.

Quote:
Originally Posted by xboxown View Post
Here is the thing...I want to spawn an object let us say at X=32, Y=0. How do I go about doing that? Then I want to control that object I spawned until I hit the enter key
Maybe something like this:
- Obviously, you first make your character (load a spritesheet), and enable that character in objects.
- Then (while still in object menu) go down and press "load triggers", and go to folder triggers (that comes with RedPill install), and load 8 direction triggers.

So, now you have top/left positioned character that you can move

Now, enter the "edit trigger", go to the last trigger and click add to add a new triggers.

In this new trigger do this
Condition:
ONCE
Action:
Set position X: -50
Set position Y: -50
(this will move character off the screen, so we can't see it on the top left corner).

Add another trigger with this:
Condition:
Input Fire 1 - Pressed - Player
Action:
Set position X (wherever you want to spawn)
Set position Y (wherever you want to spawn)

now you can move your character, from the desired spawn position
--------------------------------

That's all I can help, my knowledge stops there
I don't know how to use Enter key, or use second object, while this remain where it left.

Hope this helps a little.
d4rk3lf is offline  
Old 17 January 2019, 07:10   #430
SvladJelly
Registered User
 
Join Date: Aug 2016
Location: Portland / USA
Posts: 96
Would it be possible to make a simple point and click adventure game ala Monkey Island with RedPill?
SvladJelly is offline  
Old 17 January 2019, 08:54   #431
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 676
Quote:
Originally Posted by SvladJelly View Post
Would it be possible to make a simple point and click adventure game ala Monkey Island with RedPill?
Redpill is not a gaming making tool. Redpill is a programming language. You can make whatever game style you want with it. Redpill should have zero limitations to any style of the game you can make with it...hence, tutorials, books, video tutorials is needed to learn how to use it. However, right now...redpill is in it's purest alpha stage. Let us support it by reporting bugs and requesting features and showcasing what we can do with it's current alpha stage.
xboxown is offline  
Old 17 January 2019, 12:07   #432
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
The engine seems to be tile based so a Zelda like might be easier than Monkey Island.
Samurai_Crow is offline  
Old 17 January 2019, 14:23   #433
Yoz Montana
Registered User
 
Yoz Montana's Avatar
 
Join Date: Dec 2017
Location: FRANCE
Posts: 153
Background incrustation and new feature : press long fire to speed charactere
Bug report :
Slowing redpill engine timecode : 6s -> 10s

[ Show youtube player ]

Last edited by Yoz Montana; 20 January 2019 at 12:54.
Yoz Montana is offline  
Old 18 January 2019, 05:04   #434
turrican3
Moon 1969 = amiga 1985
 
turrican3's Avatar
 
Join Date: Apr 2007
Location: belgium
Age: 48
Posts: 3,913
Do you think that a game like penguin adventure could be done with redpills ?
[ Show youtube player ]

btw, congratulation for this tool !!!
turrican3 is offline  
Old 18 January 2019, 23:16   #435
saimon69
J.M.D - Bedroom Musician
 
Join Date: Apr 2014
Location: los angeles,ca
Posts: 3,519
Ok i did a fast excursus of the thread and so i understood RedPill has a GUI but internally has its own language; that makes me think if in the future (unless already done) would be possible to have assets and script separated from the runtime so that someone could use a custom engine that use redpill assets but coded in assembly or C to speed up a bit things if needed - that would be a definitive advantage compared to Backbone tools i think
saimon69 is offline  
Old 20 January 2019, 09:17   #436
Zener
Registered User
 
Zener's Avatar
 
Join Date: Jan 2009
Location: Barcelona / Spain
Posts: 432
Quote:
Originally Posted by Yoz Montana View Post
Background incrustation and new feature : press long fire to speed charactere
Bug report :
The slowy redpill engine timecode : 6s -> 10s

[ Show youtube player ]
Hi Yoz, could you help me identify why there is this slowdown? anything particular happening, in the video I can't identify anything that can cause it.
Zener is offline  
Old 20 January 2019, 09:22   #437
Zener
Registered User
 
Zener's Avatar
 
Join Date: Jan 2009
Location: Barcelona / Spain
Posts: 432
Quote:
Originally Posted by turrican3 View Post
Do you think that a game like penguin adventure could be done with redpills ?
[ Show youtube player ]

btw, congratulation for this tool !!!
Thanks! I don't think it is the right engine for penguin adventure, as it is a pseudo 3d game, and redpill is aimed to standard 2d games.

If you like MSX games, something like Knightmare is more suitable to redpill capabilities.
Zener is offline  
Old 20 January 2019, 12:55   #438
Yoz Montana
Registered User
 
Yoz Montana's Avatar
 
Join Date: Dec 2017
Location: FRANCE
Posts: 153
Quote:
Originally Posted by Zener View Post
Hi Yoz, could you help me identify why there is this slowdown? anything particular happening, in the video I can't identify anything that can cause it.
When you load a project and then create a new project, the reset of all parameters is not done correctly.
Old sprite sheets, tile bank, level object, levels are not cleared.
These are things with the project load on the other project.
No reset of the parameters.

Clipping/slowing redpill engine, you can test with this example :
Example_goldenaxe_AGA_by_YozMontana.rar

Explication in this video :
[ Show youtube player ]
Yoz Montana is offline  
Old 20 January 2019, 18:18   #439
d4rk3lf
Registered User
 
d4rk3lf's Avatar
 
Join Date: Jul 2015
Location: Novi Sad, Serbia
Posts: 1,645
Quote:
Originally Posted by turrican3 View Post
Do you think that a game like penguin adventure could be done with redpills ?
I think that second level (on the planet) is quite possible with RedPill.
Objects are not big sized, and you can make asteroids sprite sheet with different sizes (and even spinning).
The you spawn them from the center, and play animation from small to big....
I guess, you can make that collision counts, only when asteroids reach biggest size.
Not completely sure, though


Quote:
Originally Posted by Yoz Montana View Post
When you load a project and then create a new project, the reset of all parameters is not done correctly...
Yeah, I also noticed this.
When you click new project (or just load project over the old one) it keeps many stuff from the old project, like backgrounds, and tiles (if you don't have your own).

I also couldn't delete object, from the objects menu. It kind'a delete it, but when I go to levels, I see it's still there, or if I click add new object (after deleting old one), it just brings back deleted objects.
d4rk3lf is offline  
Old 20 January 2019, 19:23   #440
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 676
Quote:
Originally Posted by d4rk3lf View Post
Hey mate.
We are not being ignored, it's just that this community is very small, and they all have their personal projects.
Last few pages both Zener and Yoz Montana provided a huge help on various questions, but we can'r expect that they are here 24h/day for our beginner questions.
Personally, I think it's better for Zener to focus on developing this app, then to answer these questions.
Then again, I think it's really time that someone do a basic help file on what each condition and action means, so new users don't get stuck from the start.
-----------------------------

As for your questions, as you know, I am also beginner, but I maybe able to help you on the first part.



Maybe something like this:
- Obviously, you first make your character (load a spritesheet), and enable that character in objects.
- Then (while still in object menu) go down and press "load triggers", and go to folder triggers (that comes with RedPill install), and load 8 direction triggers.

So, now you have top/left positioned character that you can move

Now, enter the "edit trigger", go to the last trigger and click add to add a new triggers.

In this new trigger do this
Condition:
ONCE
Action:
Set position X: -50
Set position Y: -50
(this will move character off the screen, so we can't see it on the top left corner).

Add another trigger with this:
Condition:
Input Fire 1 - Pressed - Player
Action:
Set position X (wherever you want to spawn)
Set position Y (wherever you want to spawn)

now you can move your character, from the desired spawn position
--------------------------------

That's all I can help, my knowledge stops there
I don't know how to use Enter key, or use second object, while this remain where it left.

Hope this helps a little.
it did not work. Here is my scenario or case scenario so that you guys understand where my issue is.


I am sorry but I have been trying for weeks and it failed. This is why I am posting this again with a reply and this time with an attachment. Looking at the attachment this is my case scenario....I have the board, and that clown face. From the clown face I want to put triggers to spawn the character at the X=0, Y=0 on the board on the left side of the screen. Then when I move the arrow keys the player moves on the board and ones I press the first button or hit enter or spacebar it places the piece there and the clown face checks to see if it is the second player. When it is the second player it spawns (make a new piece and store the new piece in memory) and places it again on X=0, Y=0 and then the second piece get to be moved by the player while the first piece stay put where the first player placed it. When the second player press spacebar or press fire button it places that in the board then the clown face spawns a new first player and places it on the board X=0, Y=0 and so on. I tried everything...Instant X=0 or set position X=0 or whatever and nothing happens.

Let me show you code logic so far what I have done.

Object (Player1)>Trigger 0

Condition Parameter
Position X >=0 0
Input Right Pressed Player1

<
Set Position X 16
Set Speed X 255
>

Object (Player1)>Trigger 1

Condition Parameter
Position X >=0 0
Input Right Released Player1

<
Set Position X 0
Set Speed X 0
>

Object (CrazyFace)>Trigger 0

Condition Parameter
Var TRUE IsSpawnP1

<
INSTANTIATE X Player1 0
INSTANTIATE Y Player1 0
Set VAR IsSpawn1 False
>


Object (CrazyFace)>Trigger 1

Condition Parameter
Var TRUE IsSpawnP2

<
INSTANTIATE X Player2 0
INSTANTIATE Y Player2 0
Set VAR IsSpawn2 False
>

Object (CrazyFace)>Trigger 2

Condition Parameter
ONCE

<
Set VAR IsSpawnP1 TRUE
>
Attached Thumbnails
Click image for larger version

Name:	Template.png
Views:	121
Size:	24.2 KB
ID:	61669  
xboxown is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tracking a game/program's memory usage clebin Coders. General 5 01 December 2017 10:46
Amiga Demo Creator to save as ''DMS'' DerekAutista123 support.Demos 10 01 November 2016 19:27
Amiga Game Creator with Sonic?? DerekAutista123 Amiga scene 1 06 March 2016 23:32
Commodore 64 D64/D81 image creator for Amiga? Amiga1992 request.Apps 11 13 December 2012 00:27
old game review tv program gimbal Retrogaming General Discussion 10 11 July 2006 02:47

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:01.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.28594 seconds with 16 queries