Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Sign in to follow this  
Tosharu

Basic Extended Compilers for the win?

Recommended Posts

Okay I don't like icky syntaxes. And I find things like C, and Java to be ...well icky.

 

Most of the programming "languages" I'm used to are third party based.

 

The reason is because most of them allow me to do something like this

 

myimage=loadnewfximage("myimage.jpg") ; this automatically loads that image into memory for me and I can use the tag 'myimage' to refer to it. 
;it automatically sizes the image in virtual memory for me as well.
imagemaskcolour myimage, rgb(255, 255, 255) ;this lets me set the transparent color, in this case it's white.
x=300
y=300
drawimage myimage, x, y, 1 ;this draws 'myimage' at coordinates x and y, and sets the drawing type to transparent ON.
sync ;copies the backbuffer to the front buffer
waitkey

 

and it's THAT simple. In every other programming language I've used there are NO direct load image commands and direct drawimage commands that function this way.

 

So why do all the other "main stream" languages have to be so complicated?

Why can't there be commands that just let you load an image or a 3d model at x, y, z, using "drawing mode" whatever?

Share this post


Link to post
Share on other sites

You might want to look at VisualBasic.NET then ;)

most of the other languages like C++ and Java originated at the command line, where there was no method of placing an image in a program. Even in modern days you have to use something that has a GUI to load an image easily

myImage.image = "data/pic/myimage.png" 'Thats how easily its done in Visual Basic.... almost

Share this post


Link to post
Share on other sites

You might want to look at VisualBasic.NET then ;)

most of the other languages like C++ and Java originated at the command line, where there was no method of placing an image in a program. Even in modern days you have to use something that has a GUI to load an image easily

myImage.image = "data/pic/myimage.png" 'Thats how easily its done in Visual Basic.... almost

 

So your saying that even if I learn C and C++ I wouldn't be able to do direct image command stuff without using something like visual basic or something. damn..

 

Figures. the command line thing makes sense though, earlier on languages weren't exactly pretty to code in..

Share this post


Link to post
Share on other sites

not without learning the GUI conversions, but if you can work a GUI in C++ it would help immensely

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...