Search:

Type: Posts; User: Edelweise

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Re: Drawing Cairo true Alpha Overlay over Image (Not PictureBox)

    That's exactly what I was looking for. Just one simple question.. How can I increase decrease laser amount? In the previous code I had a variable (Beams = 4) and I was just changing to number to...
  2. Re: Drawing Cairo true Alpha Overlay over Image (Not PictureBox)

    I took the video as an example of the game concept, however, the game on the video was never made by me. I did a cloning project long time ago which unfortunately lost after hard drive damage. Now I...
  3. Re: Drawing Cairo true Alpha Overlay over Image (Not PictureBox)

    Here's the game in action: https://www.youtube.com/watch?v=JoHRYZWHNZM
  4. Re: Drawing Cairo true Alpha Overlay over Image (Not PictureBox)

    It's too late to do this already. I am at 80% of that project and already started to do it that way. As I usually work with the build-in VB6 controls :(
  5. Re: Drawing GDI true Alpha Overlay over Image (Not PictureBox)

    Okay here's what am I doing atm: https://gofile.io/?c=PNvErV
    This is a sample project and I hope it can explain the situation better. Basically "that image" is a simple image-control and the target...
  6. Re: Drawing Cairo true Alpha Overlay over Image (Not PictureBox)

    It's very easy to register and use vbRichClient5. Just download from http://www.vbrichclient.com/Downloads/vbRC5BaseDlls.zip , extract then run the two .vbs files. As I said the code comes from a...
  7. Re: Drawing GDI true Alpha Overlay over Image (Not PictureBox)

    Thank you I have updated the title. What exactly is that you can't use?
  8. Drawing Cairo true Alpha Overlay over Image (Not PictureBox)

    This is originally comes from this thread: http://www.vbforums.com/showthread.php?823923-Line-control-blur-possbile

    Download current state of the code:...
  9. Replies
    12
    Views
    2,393

    Re: Line control blur, possbile ?

    Perfect. I implemented the code into the game the drawing of the multiple space images technique also helped me replace my current one which was to pre-render 40 empty image boxes and place stuff in...
  10. Replies
    12
    Views
    2,393

    Re: Line control blur, possbile ?

    Thank you for all your help and for doing this for me, but actually this wasn't exactly what I wanted. I don't want to be cheeky, but I just don't know how to rewrite the whole code to do what I want...
  11. Replies
    6
    Views
    788

    How am I supposed to use this code?

    Been searching for something related to drawing anti-aliased lines in VB6. Found this code on planetsouce:


    Option Explicit


    Private Type POINTAPI
    x As Long
    y As Long
    End Type
  12. Replies
    12
    Views
    2,393

    Re: Line control blur, possbile ?

    So almost 3 years later I am back to this game. Everything was kinda re-created / re-written from both client and server side. I really spend a lot of time for this and the only thing that left are...
  13. Replies
    11
    Views
    1,498

    Re: Do While Loop True/False check doesn't work

    It is set to true early in my sub I just forgot to include it in the code example I send above. I also tried to move it just below the declaration of itm as so:


    Dim itm As Variant
    blnSafe =...
  14. Replies
    11
    Views
    1,498

    Re: Do While Loop True/False check doesn't work

    Dim itm As Variant
    For Each itm In AttackingMe
    If AttackingMe(array) = True Then
    blnSafe = False
    Exit For
    End If
    Next

    If blnSafe = True Then
    Label.Caption = "Safe"
  15. Replies
    11
    Views
    1,498

    Re: Do While Loop True/False check doesn't work

    Thank you for your reply. May you help me with using the correct code in this case? Thank you!
  16. Replies
    11
    Views
    1,498

    Do While Loop True/False check doesn't work

    I have a simple loop and a global boolean like so:


    Dim AttackingMe(5) as Boolean
    ''''''''''''''''
    ''''''''''''''''
    'Somewhere in a function
    Dim count as Integer
    count = 0
    Do
  17. Re: Found previous value of variable after it's changed

    Actually I found a simpler way of doing it:


    If Number > 0 then ImageArray(sLastNum).Picture = ("original-pic")
    If sLastNum <> Number Then sLastNum = Number
    ImageArray(Number).Picture =...
  18. Re: Found previous value of variable after it's changed

    Are sLastNumber and sLastImage some global variables ? And what exactly sLastImage should be ? A bit more detailed information if possible, please ? Thanks.
  19. Re: [RESOLVED] Draw line between images in array

    Setting AutoRedraw to True and Refreshing the form after drawing the lines actually did the job pretty well. Thank you @LaVolpe.

    @passel, maybe you're right about not using image controls at all...
  20. [RESOLVED] Found previous value of variable after it's changed

    I don't know why I always deal with stuff that doesn't have any information over the web about to do it, but anyway...
    Let's assume that I have a variable called Number which is a random number...
  21. Re: [RESOLVED] Draw line between images in array

    Circles are images (PNG's). In fact, I am using your AlphaImgControl to create them.
    In the demo I used shapes, but the same "glitch" happened with shapes too.
  22. Re: [RESOLVED] Draw line between images in array

    I managed to accomplish this whole drawing process with just 5 lines of code, simple, but there is a tiny problem. When I draw the line between the images Me.Line(x1,x2)-(y1,y2) it will draw the line...
  23. Replies
    3
    Views
    1,461

    Draw anti-aliased line ?

    So title says everything. Is there a way (library or whatever) that will allow me to draw anti-aliased lines in a form ? Some example code will be fine too. Thanks!
  24. Re: Draw line between images in array

    Well that does the job. I already have an algo that knows which nodes are connected and which are not. I will have some trouble drawing lines between node that has multiple connectors, but I guess I...
  25. Re: Draw line between images in array

    ~bump :(
  26. [RESOLVED] Draw line between images in array

    Hello. So I have this array of 118 images which looks like so:
    157713
    And this is actually a map, so how can I draw lines between specific dots, so it will become like so:
    157715

    You may want...
  27. VS 2015 [RESOLVED] Problem with SQLite Database: File is encrypted or it's not a databse file.

    Got this resolved, thanks to all that helped!
  28. Re: Formatting color for creatin text part in VB6 RichTextBox

    Thank you for showing me this @DataMiser !
    When I checked what temp is, I saw that it contains the text that is added to the chatbox with all it's RTF options (e.g \cf1user:message) where cf1 is...
  29. Re: Formatting color for creatin text part in VB6 RichTextBox

    I am actually not the original creator of this game and I don't fully understand the code too. So where you see the place where the text is replaced ?
  30. Re: Formatting color for creatin text part in VB6 RichTextBox

    Resolved
  31. Re: Formatting color for creatin text part in VB6 RichTextBox

    Resolved
  32. Re: Formatting color for creatin text part in VB6 RichTextBox

    Resolved
  33. Re: Formatting color for creatin text part in VB6 RichTextBox

    The start should begin at 0 and end in the last username symbol, so it will select the username only. I don't think theres something wrong with this one.
    Can you explain a little bit more detailed...
  34. [RESOLVED] Formatting color for creatin text part in VB6 RichTextBox

    Resolved
  35. Replies
    1
    Views
    4,216

    Re: [HELP] Reading MySQL database tables

    Bump~
    Nobody ????
  36. Replies
    1
    Views
    4,216

    [HELP] Reading MySQL database tables

    Hello. So I have this C++ code:


    void mysql_do_ds_awards()
    {
    #ifdef USE_MYSQL
    char sql_cmd[5000];
    MYSQL_RES *res;
    MYSQL_ROW row;
    unsigned int num_fields;
  37. Replies
    10
    Views
    11,537

    VS 2013 Re: [SOLVED] Whats wrong with this code ?

    Btw @TnTinMN can you try make it work with the code i said it's not needed ? Cause actually, it is needed.


    End Function).Start
    Thread.Sleep(CInt((Integer.Parse(s) * &H3E8)))
    ...
  38. Replies
    10
    Views
    11,537

    VS 2013 Re: Whats wrong with this code ?

    @TnTinMN Thank you very much. My code is working now. THANKS!
  39. Replies
    10
    Views
    11,537

    VS 2013 Re: Whats wrong with this code ?

    @TnTinMN used your code, worked fine. I fixed some of the errors. Also, the last few lines after Next:



    End Function).Start
    Thread.Sleep(CInt((Integer.Parse(s) * &H3E8)))
    [loop]...
  40. Replies
    10
    Views
    11,537

    VS 2013 Re: Whats wrong with this code ?

    I am trying to make it work too for the whole day. Originally the source code comes from sourceforge, but this current one is from my friend, cause it's an old project and it doesn't exist on...
Results 1 to 40 of 47
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width