Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: I am looking for couple of visual effects but can't find them in the example....  (Read 5491 times)

0 Members and 1 Guest are viewing this topic.

xboxisfinished

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 205
  • Generic Amiga User
    • gamemakermagazine.com

    Hey guys,

I am looking for couple of visual effects on the screen and I am unable to find them. I am searching in the examples that came with preinstalled AMOS and right now I am in example folder H-6 as I am working through it. Here are the effects I am looking for:

 Screen starts completely black then do whatever changes I need hidden from sight of person. Ones the changes or effects are done the screen slowly shows in a nice fade visual effect until the screen is bright and clear and you can read and see everything...at that point I want a wipple text effect at the center of the screen that reads out "Level 1" after couple of seconds that text disappear and replaced with "Ready?" (that too is wippling) and after that is replaced with "Go!"....then I want some nice fancy visual effect in the screen and poof the level shows. Every time...I pass a level...it does some cool visual effect...hides the level...shows this screen again and does "Level 2" and "Ready?" and "Go!" and so on.

 If I die it does some cool fency visual effect...I get this black screen (hiding everything behind it) and says "Level1" and "ready?" and "Go!" because I died I have to repeat that level and in this case it is Level1. If I get a game over I return back to the screen and this time I don't get wipple text but a good game fency font text that says "Game Over!" and underneath it "Continue?" and it restarts back at that level again or else go back to the main menu. I am giving you a scenario of what I am looking for.

How do I do this? What example source code I can do this? I do know there was an example showing I can view two different open screen on the same screen of your TV, but I cannot find that example nor the fading effect of the screen and nor the wippling text. Any help would be greatly appreciate it.  Thanks in advance.

P.S "I also want to change the font, font size and font style to a gaming font not default AMOS font. How do I go about doing that?"
                                           
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo

Uh... Start with all the palette entries set to black and use the fade command to fade the palette in?  Use sprites for the overlay effect?  (Sorry, only read part of your post now.  I will comment later on the rest.)
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo

Most people use icon paste commands with characters in the icon bank instead of the whimpy Amos commands for text.
Logged

xboxisfinished

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 205
  • Generic Amiga User
    • gamemakermagazine.com

Uh... Start with all the palette entries set to black and use the fade command to fade the palette in?  Use sprites for the overlay effect?  (Sorry, only read part of your post now.  I will comment later on the rest.)

So...for the palette part I go first

Palette $0,$0,$0 as complete black? So let me do the code scenario below:

Code: [Select]
   Palette $0,$0,$0: Rem The screen is 100% black
   fade 5: Wait 150: Rem We do the nice fade effect
   Palette $FFF, $FFF, $FFF: Rem the palette is back to normal again.

Would that be it? For the special character font effect would I be drawing my fancy font style in the icon editor part and then write a routine that checks the character input from the keyboard and display that image based on the character inputted from the keyboard on the X,Y coordinate specified? So for example I would write a routine like this:

Sub StyleFont(X,Y, Character)
  if scan code (Character=A)
     Paste Bob X+NX,Y+NY, A
     Add NX,16
  else if code (Character=B)
     Paste bob X+NX,Y+NY, B
     Add NX,16

and so on? Of course I would be checking with the X,Y coordinate with the NX if I am so close to the edge of the screen on the right side and if I do then I increment NY by 16 (so the character goes down one line) and set NX=0 and so on. I will add other things into the equation too if necessary, but I just wanted to ask if the pseudo code I wrote about what you are talking about? Finally, one last question promise. In terms of ART I stink. I want to be able to download some cool image fonts from the internet and import them into the icon editor in AMOS. Is that possible?

P.S "For the visual screen effect...I am wondering is there a demo I can download or source code I can learn from..to show different visual screen effects, like split screen, grid effect, etc...things that you would say cool instead of fade in and fade out effect?"
« Last Edit: November 05, 2015, 08:23:59 PM by xboxisfinished »
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo

Split screen is easy.  Just open two screens half height and give them coordinates that don't overlap vertically.

On Aminet there's a collection of demo effects called "useless".  I'd give you a link but I am on my cell phone now.  Also, that's not the complete name.  Look in dev/amos directory.
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo

Some game source by the author of AMCAF:  http://aminet.net/package/dev/amos/AllPlaton
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo

Here's the link I was looking for originally:  http://aminet.net/package/dev/amos/PrgCollection
Logged

xboxisfinished

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 205
  • Generic Amiga User
    • gamemakermagazine.com

Split screen is easy.  Just open two screens half height and give them coordinates that don't overlap vertically.

What I meant was like this

Screen 1
---------------------------
i                                    i
i                                    i
i                                    i
i                                    i
---------------------------

Screen 2
---------------------------
i                                    i
i                                    i
i                                    i
i                                    i
---------------------------
 and I switch between them back and forth :)
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo

You mean page flipping?  That's easy to do in AmosPro also.  Look up autoback in the manual.
Logged

xboxisfinished

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 205
  • Generic Amiga User
    • gamemakermagazine.com

You mean page flipping?  That's easy to do in AmosPro also.  Look up autoback in the manual.

Thank you so much :) I will research it. But just to confirm it is not between AMOS and WB it is between two different screen open in the code for AMOS :)
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo

AmosPro has the double buffered page flipping ability already.  Autoback off and doing screen swap after a wait vbl will make it sync up and double buffer.
Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022