collapse

Author Topic: Animated Portrait on Character Selection Screen  (Read 3757 times)

0 Members and 1 Guest are viewing this topic.

Offline Krishjan

  • Initiate
  • **
  • Posts: 73
  • Last Login:July 23, 2019, 03:52:53 AM
  • Hi! I'm new!!
Animated Portrait on Character Selection Screen
« on: March 19, 2013, 08:48:57 PM »
Hi, can anybody help me on how to animate the portrait of a character on the character selection screen in mugen 1.0? I saw in the Avenger vs. X-men full game released by Acey and his team that the portrait of their character on the character selection screen was animated.



Offline DizzyTheConquer

  • Novice Animator
  • Database Moderator
  • *****
  • Posts: 1905
  • Country: United States us
  • Last Login:February 23, 2018, 07:37:31 PM
  • Amateur Animator, Editor, Game Programmer
    • Story-Arc Animations
Re: Animated Portrait on Character Selection Screen
« Reply #1 on: March 19, 2013, 09:11:47 PM »
Hi, can anybody help me on how to animate the portrait of a character on the character selection screen in mugen 1.0? I saw in the Avenger vs. X-men full game released by Acey and his team that the portrait of their character on the character selection screen was animated.
I think it's all with fonts but it can be tedious.

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Animated Portrait on Character Selection Screen
« Reply #2 on: March 20, 2013, 12:28:27 AM »
No, it's done with cursor hackery. That's the only animated element available on the select screen. Basically you have a screensized cursor and it changes because of spacing. No small portraits, it's a kinda ugly hack. Works best with small rosters. You get too big and the image gets too big. Mugen might stop coping over a certain size.

Offline trexrell44

  • Student of the Game
  • Forum Member
  • ***
  • Posts: 471
  • Country: United States us
  • Last Login:February 22, 2020, 09:06:21 PM
    • Email
Re: Animated Portrait on Character Selection Screen
« Reply #3 on: May 17, 2013, 07:58:58 PM »
Sorry If I'm doing this wrong but I was actually trying this. I understand this for the most part but When using a 1.0 do you need to rescale the all the sprites to a higher resolution and also how do you make the cursor change when you select a new cell?


CENTER]

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Animated Portrait on Character Selection Screen
« Reply #4 on: May 17, 2013, 08:13:03 PM »
Assume screen is 640x480. Cursor spacing is ALSO 640x480. When you press left/right/up/down a new screen entirely is displayed. Thing is, it increases on a per character basis. So if you need 2 rows and 2 columns your picture is 1280x960 and so on.

IMO it maxes out at about 12 characters in a somewhat square formation, beyond that the picture is gigantic and too hard to deal with.

You can also use this for a normal sized cursor in a non standard screen format, like hexagons etc.

Offline trexrell44

  • Student of the Game
  • Forum Member
  • ***
  • Posts: 471
  • Country: United States us
  • Last Login:February 22, 2020, 09:06:21 PM
    • Email
Re: Animated Portrait on Character Selection Screen
« Reply #5 on: May 17, 2013, 08:39:24 PM »
So is there a trigger of some sort saying that you if cell = x anim changes to y?  @^@ I feel so retarded

Edit: OMG I get it now..... crap.
« Last Edit: May 17, 2013, 09:14:44 PM by trexrell44 »


CENTER]

Offline trexrell44

  • Student of the Game
  • Forum Member
  • ***
  • Posts: 471
  • Country: United States us
  • Last Login:February 22, 2020, 09:06:21 PM
    • Email
Re: Animated Portrait on Character Selection Screen
« Reply #6 on: May 19, 2013, 08:59:01 PM »
So I thought I got it down. I get the concept but something is not working for me. I made my mugen resolution 640 by 480 and tried 2 characters real quick for a test. I made my image 1280 by 480 to see if the image would change but I could not get it to work I must be doing something wrong. This what I have

;Character select definition
[Select Info]
fadein.time = 10
fadeout.time = 10
rows = 2
columns = 6
wrapping = 0              ;1 to let cursor wrap around
pos = 0,0            ;Position to draw to
showemptyboxes = 0        ;1 to show empty boxes
moveoveremptyboxes = 0    ;1 to allow cursor to move over empty boxes
cell.size = 640,480      ;x,y size of each cell (in pixels)
cell.spacing = 640,480        ;Space between each cell
;cell.bg.spr = 150,0       ;Note: Don't use animation for cells
cell.random.spr = 151,0   ;Icon for random select (don't use animation)
cell.random.switchtime = 4;Time to wait before changing to another random portrait
p1.cursor.startcell = 0,0
p1.cursor.active.anim = 160
p1.cursor.done.spr = 160,0
p1.cursor.move.snd = 100,0
p1.cursor.done.snd = 100,1
p1.random.move.snd = 100,0

And this my cursor anim(for now)

[Begin Action 160] ;P1 active cursor
160,0, 0,0, 1



CENTER]

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

Ancient Gears Stage 1.1 & 1.0 by MatreroG
[September 20, 2024, 11:59:18 AM]


Classic VS : Balrog by ELECTRO
[September 17, 2024, 04:48:07 PM]


Justice League Metropolis Stage by Vegaz by LightFlare
[September 16, 2024, 11:57:49 AM]


Ultimate Mai Shiranui (FF2 & FF3) by nickfurry
[September 15, 2024, 02:27:53 AM]


thunderstrike eric masterson by Blagoy
[September 12, 2024, 02:41:33 PM]


Justice League Gotham Stage by Vegaz by LightFlare
[September 11, 2024, 09:41:42 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[September 07, 2024, 03:06:46 AM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[September 06, 2024, 01:27:09 PM]


Justice League Flash Stage by Vegaz by LightFlare
[September 03, 2024, 10:30:40 AM]


Raid's here! Raid kills fighters dead in MUGEN! by GTFoxN6Y
[August 31, 2024, 02:44:15 PM]

* IMT Calendar

September 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 [21]
22 23 24 25 26 27 28
29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal