collapse

Author Topic: Animated Portrait on Character Selection Screen  (Read 3649 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

Street Fighter 1 Ultimate Ryu by ELECTRO
[Today at 03:58:25 PM]


China Town (Revenge of Shinobi) by Lord_Enemil
[Today at 03:02:10 PM]


Neon Light Force Demo by Uche_of_IMT
[Today at 10:21:37 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Uche_of_IMT
[May 21, 2024, 11:50:20 PM]


The Spider release + Spider-Man game by kobun
[May 21, 2024, 02:05:24 AM]


Let's all try it together! Yazawanainn gose breakdancing in MUGEN! by GTFoxN6Y
[May 18, 2024, 05:00:14 PM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[May 18, 2024, 11:17:34 AM]


Classic VS : Athena by ELECTRO
[May 15, 2024, 01:25:51 PM]


D2TD VS Showcase Thread by D2TD
[May 12, 2024, 10:20:11 AM]


Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[May 09, 2024, 11:53:48 AM]

* IMT Calendar

May 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 31

No calendar events were found.
SimplePortal 2.3.5 © 2008-2012, SimplePortal