Add some useful stuff for existing script functions

Description: Have any suggestions or new ideas for SMBX-38A? This is a place for you. Good suggestions may appear in future versions of SMBX-38A.
Moderators: Lx Xzit, Yoshi021, 5438A38A, Semi-moderatos, Moderators

HugoMDM M
Topic author, Our friend
Our friend
Avatar
HugoMDM M
Topic author, Our friend
Our friend
Age: 20
Reputation: 65
Posts: 79
Joined: 17 Apr 2016
Youtube channel URL YouTube

Post #1by HugoMDM » 14 Sep 2020, 1:34



A) Add a "Image Source" for bitmaps
this one can be selected like:

BmpCreate(id, picid, flagA, flagB, sx, sy, sw, sh, dx, dy, scx, scy, pcx, pcy, angle, color)
Picid = -1 for the current game screen and > 0 for some npc

B) Add a slope angle detection for iterators.

ItrCreate(type, id, x, y, w, h)
Type, just select 7 or 13 to detect slope angles
itrnext doesn't return the block id, just the slope angle


C) Add a sysval to disable sliding or make char(n).sliding writable
The autosliding is not very greate and i think is neccesary control it


I'm really hope this comes in the next update, should be greate.
Please. :letter:



I make good scripts for everyone c:
Scripting YT channel
https://www.youtube.com/channel/UChaWgDsfMCqJzeV0bmDs-Mw?view_as=subscriber

NESTED ERNEST M
Count
Count
Avatar
NESTED ERNEST M
Count
Count
Reputation: 70
Posts: 261
Joined: 23 Sep 2017
Location: Perú, Lima
Website

Post #2by NESTED ERNEST » 14 Sep 2020, 20:52

HugoMDM wrote:current game screen

With current game screen you mean a screenshot in the middle of the game execution, or the bitmap that is in the example folder(from 1.4.4) of: worlds\Examples\Script Examples\Beginner\Bitmap
Programming NPCs in SMBX-38A is fun:
That is me
Image
Image
Image
Image

ROCKMAN GIF IN SMBX 38A

Image

HugoMDM M
Topic author, Our friend
Our friend
Avatar
HugoMDM M
Topic author, Our friend
Our friend
Age: 20
Reputation: 65
Posts: 79
Joined: 17 Apr 2016
Youtube channel URL YouTube

Post #3by HugoMDM » 14 Sep 2020, 21:11

Yep, like a screenshot but taking the game image in real time, with that we can do greate cammera effects, camera defformation and more stuff

A Example:
Image
I make good scripts for everyone c:
Scripting YT channel
https://www.youtube.com/channel/UChaWgDsfMCqJzeV0bmDs-Mw?view_as=subscriber


Return to “Ideas & Suggestions”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest